[PHP] enable/disable per directory

2003-06-30 Thread Micha Silver
Using apache 1.3.20 and php 4.0.2
Can I enable / disable posting of php scripts per directory?
i.e. no php allowd from /home//public_html

TIA

Micha Silver
Arava Development Co.
tel:  (972) 8-6592270
cellular:  (972) 5-3665918


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



RE: [PHP] enable/disable per directory

2003-06-30 Thread Micha Silver
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//public_html
> 
> With a standard Apache setup you have something like:
> 
>  
>AddType application/x-httpd-php .php4 .php3 .phtml .php .inc
>AddType application/x-httpd-php-source .phps
>  


So the AddType directive can be in each  section
separately??


Thanks again.


> 
> in your default server/host section. You just have to remove 
> it and add it 
> into the  or  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