Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old September 7th, 2008, 04:25 PM
peter
Guest
 
Posts: n/a
Default prevent php execute

Hi all
In apache, How can i prevent php to be execute in a specific
directory?
thanks
from Peter (cmk128@hotmail.com)
  #2  
Old September 7th, 2008, 05:45 PM
FutureShock
Guest
 
Posts: n/a
Default 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.
  #3  
Old September 7th, 2008, 05:55 PM
Michael Fesser
Guest
 
Posts: n/a
Default 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
  #4  
Old September 8th, 2008, 01:15 PM
Gordon
Guest
 
Posts: n/a
Default 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.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles