You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by j....@gmx.net on 2003/05/11 03:50:58 UTC

[users@httpd] Restricting certain directives to a specific directory

Hello All!

I am having a little problem with Apache 1.3.27.
I have to restrict certain Apache directives to only a specific directory
but not the subdirectories under it.
As far as I know the "Directory" directive only lets me restrict directives
to a directory and its subdirectories.
Is there a way to achieve this without defining another "Directory"
container for every subdirectory under it ?

Consider the following example:

<Directory /home/www/data>
SetHandler server-parsed
</Directory>

Then all files in all subdirectories would be treated as SSI, too.

Please Help!

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org