httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] DirectoryIndex and SetHandler
Date Tue, 26 Apr 2005 15:50:12 GMT
On 4/26/05, Ruben Decrop <> wrote:
> I've have a small configuration issue with the simultaneous use of
> DirectoryIndex and SetHandler
> I have a DirectoryIndex defined as such
> <Directory /usr/www/dir>
>   DirectoryIndex home
> </Driectory>
> When I define a handler as below, with a SetHandler in a Location
> directive pointing to the same  directory,
> <Location /dir>
>   SetHandler myhandler
> </Location>
> <Location /dir/image>
>   SetHandler None
> </Location>
> myhandler is being applied as '/dir' instead of '/dir/home', as I hoped
> it would.  How can I change the configuration so myhandler is applied as
> '/dir/home'
> while making sure that for '/dir/image' myhandler is not being applied

How exactly are you defining your handler?  What does it do?

Does the file "home" actually exist?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message