PHP Auto Pre-/Append
A friend of mine needs hosting for a small personal website, so I offered him a subdomain on my server. There are just a few things I want to do so he can't mess up my webserver.Ofcourse I will disable the use of .htaccess, I also disabled PHP files from being parsed. But I still have a few questions...
Are there any other important things I should disable?
And another question regarding PHP Pre-/Appending, I want to rewrite all his outgoing links so that they open in a frame including a banner, but I don't want his HTML files to be changed. I figured the easiest way was by setting up a rewrite script that'll rewrites every page. But by using the following in my httpd.conf:
Code:
php_value auto_prepend_file header.php php_value auto_append_file footer.php
So my second question is: "How can I get a PHP script to rewrite every requested HTML page for his subdomain and at the same time disable PHP?"