Hello Jason: Thanks for the quick reply... > -----Original Message----- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 5:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] enable/disable per directory > > > 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.
Yes, I meant executing. > > > 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> So the AddType directive can be in each <Directory></Directory> section separately?? Thanks again. > > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php