faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 10 people (90%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

How can I restrict to run PHP4 script in some directory?

May 12th, 2008 20:38
i can do it, suresh kc, Lecon Bruce,


Yes you can.
If you are using apache, something like this
<Directory "c:\apache\htdocs\special">
AddType application/x-httpd-php .php
ScriptAlias "c:/php/" /php/
Action application/x-httpd-php /php/php.exe
</Directory>
this will restrict it to this dir and the sub-dirs of this dir
http://www.stupidarticles.com
http://www.halazona.com
http://www.shikapika.com
http://www.stakoza.com
http://www.uploadarticles.com
http://www.ganazat.com
http://www.damima.com
http://www.tarabiza.com
http://www.articlesxarticles.com
http://www.articlesfreedirectory.com