Re: mod_autoindex not cooperating

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

 



Yup, that did the trick.

I got into this predicament in the first place because I was trying to set up a default-content "hole" in a vhost served by mod_perl. That's where the "SetHandler default" directive came from (it works for static content like images and JavaScript). But when I set up a separate vhost and left off the SetHandler directives completely it worked like a charm.

Thanks guys.

d

Joshua Slive wrote:
On 12/13/06, David Scott <ds94103@xxxxxxxxxxxxx> wrote:
David Scott wrote:

Nope, this simply does not work for me.  Here is the latest httpd.conf
snippet:

Listen 3002
<VirtualHost *:3002>
    Alias /static /home/david/pix/html/static
    DocumentRoot /home/david/pix/html
    <Location /static>
        SetHandler default
        Options +Indexes
        Order allow,deny
        Allow from all
    </Location>
    <Directory /home/david/pix/html/static/code>
        SetHandler default
        Options +Indexes +FollowSymLinks
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

both a request to /static and /static/code return

[Wed Dec 13 12:11:51 2006] [error] [client 127.0.0.1] Attempt to serve
directory: /home/david/pix/html/static/

Get rid of the SetHandler default stuff.  It probably interferes with
mod_autoindex's ability to put its directory handler in place.

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




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