X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=inline;f=apache-conf.conf;h=9a2bdaf03162b9d8d7d137e9dda8f8b2a386a046;hb=31002632ecb3035490e5074455282cd1fba4abf6;hp=16b2864feae6088bc4412bddd9373231177bfc09;hpb=40f379f98b8350710b02d1f68a90d337ad13ab92;p=ndwebbie.git
diff --git a/apache-conf.conf b/apache-conf.conf
index 16b2864..9a2bdaf 100644
--- a/apache-conf.conf
+++ b/apache-conf.conf
@@ -55,7 +55,7 @@
ErrorLog logs/ndawn_error_log
#TransferLog logs/ndawn_access_log
- CustomLog logs/ndawn_access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
+ CustomLog logs/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::AuthHandler
+ PerlAuthenHandler ND::Web::AuthHandler
Order Deny,Allow
Require valid-user
@@ -120,7 +126,7 @@
PerlSwitches -T -I/var/www/ndawn/code/
PerlRequire /var/www/ndawn/code/startup.pl
-
+
SetHandler perl-script
PerlResponseHandler ND