On Tuesday 01 July 2003 00:12, Micha Silver wrote:
> Using apache 1.3.20 and php 4.0.2
> Can I enable / disable posting of php scripts per directory?

Not sure what you mean by 'posting'.

If you really meant execution of php scripts then yes.

> i.e. no php allowd from /home/<username>/public_html

With a standard Apache setup you have something like:

 <IfModule mod_php4.c>
   AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
   AddType application/x-httpd-php-source .phps
 </IfModule>

in your default server/host section. You just have to remove it and add it 
into the <VirtualHost> or <Directory> containers wherever they're needed.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
If God had not given us sticky tape, it would have been necessary to invent 
it.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to