X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=apache-conf.conf;h=167819fcaf538059ac1c288e932797f6a544e8ae;hb=5bb37d22290dd1e7a9a00cab2847493b136b1eba;hp=b9d355230ab8e59e53df69e20bdeef9292bf840f;hpb=659ed7eef85b6bfe9a30ea09f90b769f21c0204f;p=ndwebbie.git diff --git a/apache-conf.conf b/apache-conf.conf index b9d3552..167819f 100644 --- a/apache-conf.conf +++ b/apache-conf.conf @@ -52,10 +52,10 @@ ServerName nd.ruin.nu ServerAlias webbie.ndawn.com - ErrorLog logs/ndawn_error_log + ErrorLog /var/log/apache2/ndawn_error_log #TransferLog logs/ndawn_access_log - CustomLog logs/ndawn_access_log "%h %l %u [%{%F %H:%M:%S}t] \"%r\" %>s %b %T \"%{Referer}i\" \"%{User-Agent}i\"" + CustomLog /var/log/apache2/ndawn_access_log "%h %l %u [%{%F %H:%M:%S}t] \"%r\" %>s %b %T \"%{Referer}i\" \"%{User-Agent}i\"" @@ -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,9 +124,9 @@ 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