]> ruin.nu Git - ndwebbie.git/blobdiff - apache-conf.conf
cache graphs, and return not modified
[ndwebbie.git] / apache-conf.conf
index b9d355230ab8e59e53df69e20bdeef9292bf840f..9a2bdaf03162b9d8d7d137e9dda8f8b2a386a046 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.
     #
 
        PerlSwitches -T -I/var/www/ndawn/code/
        PerlRequire /var/www/ndawn/code/startup.pl
-       <Location ~ "^/[\w\\/]*(.*\.(pl|php|pm))?$">
+       <Location ~ "^/((\w+\.(pl|php|pm))|[^.]*)$">
                SetHandler perl-script
                PerlResponseHandler ND
        </Location>