htaccess overwrite

Need a php function that will be invoked on our freebsd server by our shopping cart program to:

Create an ascii text file in the website root directory,

Write a sample 3 lines of text to the file, (we will replace the sample text with our own mod_rewrite directives),

Create (and overwrite) a copy of the existing .htaccess file in the root directory for the website, (.[url removed, login to view]), (ownership and security to be the same for the copy as is .htaccess)

Rename the new file as .htaccess, overwriting the existing .htaccess file.

Final ownership and permissions for the new .htaccess must be as they were in the original file now overwritten, (user & group).

If there are security-safe php5.x and/or apache2 configurations required for your code to work properly you must define them for our ISP.

Compétences : PHP

en voir plus : group directory, htaccess overwrite, shopping directory, htaccess, freebsd, htaccess replace, htaccess mod_rewrite, write code htaccess, file permissions, php directory copy, php htaccess, php copy directory, copy file directory php, rename file code, isp server, htaccess sample, write lines php code, function sample, rename code, copy replace

Concernant l'employeur :
( 9 commentaires ) san diego, United States

Nº du projet : #169347

1 freelance fait une offre moyenne de $40 pour ce travail


Professional work from professionals!

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(220 Commentaires)