X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=apache-conf.conf;h=2eb0caeff2e987967d68cc91507578c5a485aa25;hb=2d897bb31419753af8e33b992d46ed355c1a53cd;hp=ba4d9275fca771dc65e3ee08506edd662609e06a;hpb=865806b6cccd8a063ec7c22bfa80eebbfaad715a;p=ndwebbie.git diff --git a/apache-conf.conf b/apache-conf.conf index ba4d927..2eb0cae 100644 --- a/apache-conf.conf +++ b/apache-conf.conf @@ -69,6 +69,12 @@ # 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. # @@ -100,7 +106,7 @@ AuthName "NewDawn authentication" AuthType basic - PerlAuthenHandler ND::Web::AuthHandler + PerlAuthenHandler NDWeb::AuthHandler Order Deny,Allow Require valid-user @@ -118,8 +124,8 @@ Deny from all - 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 SetHandler perl-script PerlResponseHandler ND