DuncanMcLord
11-21-2001, 05:59 AM
hi there,
i am wondering, if it is possible to "deactivate" or simply forbid the use/parsing of php files in certain directories?
so long,
Duncan McLord
ffeingol
11-21-2001, 08:10 AM
This is not tested, but give this a try.
Don't put the add type to associate .php with php in your main httpd.conf. Put the assiciation in a .htaccess file in the directories where you want php to be used.
Frank
DuncanMcLord
11-22-2001, 09:18 AM
ah... right,
good idea,
thanks a lot...
so long,
Duncan McLord
magnafix
11-22-2001, 10:44 AM
Of course without some careful tweaking of httpd.conf, if you can add a PHP mime type in your .htaccess, then other people will be able to also.
bobcares
11-26-2001, 05:09 AM
Hi!
In my opinion it is not advisable to do it.
Just let everyone access php.
Have a great day :)
regards
amar