Restricting PHP & CGI exection by vhost

Hello,

I run about 20 domains on one of my boxes and I need to setup hosting for a friend and I need to basically restrict his vhost & directory so that no CGI or php can be executed on the box for security reasons. I want only static content allowed.

I googled and couldn't find much. I found that I could do the following to eliminate cgi,

<directory/ > Options -ExecCGI </directory>

but the info on php was none Restricting PHP & CGI exection by vhost


Anyone know how to restrict the exection of all scripts & active content for only 1 particular virtual host?

Thanks guys.

 

 

 

 

Top