httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] DirectoryIndex and SetHandler
Date Tue, 26 Apr 2005 15:50:12 GMT
On 4/26/05, Ruben Decrop <ruben@decrop.net> 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?

Joshua.

---------------------------------------------------------------------
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


Mime
View raw message