[users@httpd] DirectoryIndex and SetHandler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Greetings

Ruben


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux