How to prevent execution of PHP in specific directory.

From: Date: Wed, 26 Mar 2003 01:16:44 +0000
Subject: How to prevent execution of PHP in specific directory.
Groups: php.general 
Request: Send a blank email to php-general+get-141045@lists.php.net to get a copy of this message
Hello, there. (Sorry to bother you if this kind of message already posted, but I cannot find the answer) My system hosts customers using Apache Virtual Host. If a customer has www.a.com, image.a.com , DocumentRoot of http://www.a.com is /usr/local/apache/htdocs/ and http://image.a.com is /home/user_name/public_html/ And, if another user has www.b.com , DocumentRoot of http://www.b.com is /usr/local/apache/htdocs/ and http://image.b.com is /home/user_name/public_html/ Users can upload PHP file via FTP. So, I wanna to prevent execution of PHP on User's HOME directory. and /usr/local/apache/htdocs/ can execute PHP Script. How can I do this? Thank you for advanced answer! ########################## Heo, Jungsu Mr. SimpleX Internet. http://www.simplexi.com Filter : sql, php

« previous php.general (#141045) next »