Attempt to serve directory:

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

 



I'm using mod_perl to serve "mason" pages. 

<Directory /var/www/html/codebank>
    SetHandler perl-script
    PerlHandler HTML::Mason::ApacheHandler
    AddType text/html mhtml
    AddType text/html comp 
    AddHandler perl-script mhtml comp 
</Directory>

If I load *localhost/codebank/index.html*, there is no problem.  
However, if I try to load *localhost/codebank/*, I get a 404 error.  
This does not happen for the other directories on localhost; even if 
they do not have an index, I am using Options Indexes and so I get a 
directory listing.  

In error.log I get "Attempt to serve directory: /var/www/html/codebank" 
when the 404 occurs.  How can I get apache to deal properly with this
directory without having to include the fullpath of the index?

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