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

All in <Directory>, or use <Location>?


Greetings,
 
I'd like to run the Birch photoblog under mod_perl as the app has several .cgi pages which utilize includes. However, I'm in a quandry as to the server's configuration. Suggestions welcome:
 
<Directory "/path/to/htdocs/photo"> 
    Options ExecCGI Includes   
    AllowOverride All
    Order allow,deny
    Allow from all
    AddHandler server-parsed .shtml
    XBitHack on
<Files ~ "^\.ht">
    Order deny,allow
    Deny from all
    Satisfy All
</Files>
</Directory>
 
# Birch photoblog
PerlModule Apache::Filter
PerlModule Apache::Registry
PerlModule Apache::SSI
<Location /photo>
    SetHandler perl-script
    PerlSetVar Filter On
    PerlHandler Apache::Registry Apache::SSI
    PerlSendHeader On
</Location>
 
Should I just put everything under <Directory> instead? I want to keep my config neat and tidy.
 
Thanks,
Doug


Be aware. Stay present. Speak honestly.


Get easy, one-click access to your favorites. Make Yahoo! your homepage.

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.