]> ruin.nu Git - ndwebbie.git/blobdiff - apache-conf.conf
Merge branch 'master' of ruin.nu:git/ndwebbie
[ndwebbie.git] / apache-conf.conf
index ba4d9275fca771dc65e3ee08506edd662609e06a..c7b4d68125f4fd01a75f9cefba92610ad4d4c47c 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.
     #
        Deny from all  
     </Location>
 
-       PerlSwitches -T -I/var/www/ndawn/code/
-       PerlRequire /var/www/ndawn/code/startup.pl
+       PerlSwitches -T -I/var/www/ndawn/
+       PerlRequire /var/www/ndawn/startup.pl
        <Location ~ "^/((\w+\.(pl|php|pm))|[^.]*)$">
                SetHandler perl-script
                PerlResponseHandler ND