Forum Moderators: phranque

Message Too Old, No Replies

Deactivate CGI

         

John_Creed

4:10 am on Sep 26, 2004 (gmt 0)

10+ Year Member



I want to deactivate CGI inside of certain directories of my server, but still want PHP to work. How do I go about doing this? Is there something I can put inside of my .htaccess file to accomplish this?

Im on a shared hosting account, BTW.

jdMorgan

1:02 am on Sep 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See Apache Options -ExecCGI in Apache core documentation. That may be helpful iin this case. I'm not sure if it will affect PHP, but try it out and let us know.

Jim