Connecting Tech Pros Worldwide Help | Site Map

prevent php execute

peter
Guest
 
Posts: n/a
#1: Sep 7 '08
Hi all
In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cmk128@hotmail.com)
FutureShock
Guest
 
Posts: n/a
#2: Sep 7 '08

re: prevent php execute


peter wrote:
Quote:
Hi all
In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cmk128@hotmail.com)
Don't put any PHP coded pages in it.
Michael Fesser
Guest
 
Posts: n/a
#3: Sep 7 '08

re: prevent php execute


..oO(peter)
Quote:
In apache, How can i prevent php to be execute in a specific
>directory?
If PHP runs as a module, you can use .htaccess files to turn it off on a
per-directory basis with the 'engine' directive.

http://www.php.net/manual/en/apache....php#ini.engine

Micha
Gordon
Guest
 
Posts: n/a
#4: Sep 8 '08

re: prevent php execute


On Sep 7, 4:20*pm, peter <cmk...@hotmail.comwrote:
Quote:
Hi all
* * In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cmk...@hotmail.com)
You can use the engine directive in your httpd.conf to disable PHP for
certain directories with <directoryblocks. See the Apache
documentation and the Apache related newsgroups for more information.
Closed Thread