]> ruin.nu Git - ndwebbie.git/blobdiff - apache-conf.conf
Let officers see all members
[ndwebbie.git] / apache-conf.conf
index b9d355230ab8e59e53df69e20bdeef9292bf840f..2eb0caeff2e987967d68cc91507578c5a485aa25 100644 (file)
     #
     DocumentRoot "/var/www/ndawn/htdocs"
 
+       DeflateFilterNote ratio
+       AddOutputFilterByType DEFLATE text/*
+       AddOutputFilterByType DEFLATE application/xhtml+xml
+       AddOutputFilterByType DEFLATE application/ms* application/vnd* application/postscript
+
+
     #
     # This should be changed to whatever you set DocumentRoot to.
     #
        AuthName "NewDawn authentication"
        AuthType basic
 
-       PerlAuthenHandler ND::Web::AuthHandler
+       PerlAuthenHandler NDWeb::AuthHandler
 
        Order Deny,Allow
        Require valid-user
        Deny from all  
     </Location>
 
-       PerlSwitches -T -I/var/www/ndawn/code/
-       PerlRequire /var/www/ndawn/code/startup.pl
-       <Location ~ "^/[\w\\/]*(.*\.(pl|php|pm))?$">
+       PerlSwitches -T -I/var/www/ndawn/
+       PerlRequire /var/www/ndawn/startup.pl
+       <Location ~ "^/((\w+\.(pl|php|pm))|[^.]*)$">
                SetHandler perl-script
                PerlResponseHandler ND
        </Location>