Thanks.  I had completely forgotten the php_flag in the apache
configuration.  I have set it off as a general prameter and disabled
override for the /exports/home directory.

I then created separate directory entry for horde and enabled it in
there.  This does exactly what I want.

So I ended up with this:

php_flag engine off
Alias /horde /exports/var/www/html/horde
Alias /mail /exports/var/www/html/horde/imp
<Directory "/exports/var/www/html/horde">
        php_flag engine on
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
<Directory "/exports/home">
        #php_flag engine off
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
<Directory "/exports/home/gary">
        # And me of course, because as admin I get access
        php_flag engine on
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

Thanks.

Gary


-----Original Message-----
From: Nick Kew [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 05, 2005 12:57 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Configuration directives question

On Saturday 05 November 2005 20:12, Gary W. Smith wrote:

> What we need to do is to disable PHP (any any type of SSI) for
> DocumentRoot and anything under there but keep it enabled for certain
> script aliases (such as horde which lives in /usr/local/horde).

Don't disable it.  Make sure you don't enable it in the first place.

You can enable it within a <Directory>, well away from the user stuff,
for your horde and any other contents that want it.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to