X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=apache-conf.conf;h=c7b4d68125f4fd01a75f9cefba92610ad4d4c47c;hb=65784e3972c8e0ebcbd981db441b4718466ac773;hp=68a4df7062385b50d8ef9197a1a2855b72890841;hpb=e6872eb1f7192cca4f020a3440bf14d8789f2366;p=ndwebbie.git
diff --git a/apache-conf.conf b/apache-conf.conf
index 68a4df7..c7b4d68 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.
#
@@ -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