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.

Habilidades: PHP

Ver mais: 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, write existing copy, isp website, lines code, apache2, shopping directory website

Acerca do Empregador:
( 9 comentários ) san diego, United States

ID do Projeto: #169347

1 freelancer is bidding on average $40 for this job


Professional work from professionals!

$40 USD in 0 dias
(220 Comentários)