From 548c4eccb9eea30314c3b30fc800d48366fff24c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 4 Aug 2013 15:48:25 +0200 Subject: [PATCH] Add an example Apache configuration fragment. --- apache.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 apache.conf diff --git a/apache.conf b/apache.conf new file mode 100644 index 0000000..205e5dc --- /dev/null +++ b/apache.conf @@ -0,0 +1,27 @@ +# Example Apache fragment for running the page. + + ServerAdmin sgunderson@bigfoot.com + DocumentRoot /srv/wloh.sesse.net/www + ServerName wloh.sesse.net + + LogLevel info + ErrorLog /var/log/apache2/error-wloh.sesse.net.log + CustomLog /var/log/apache2/access-wloh.sesse.net.log combined + + ServerSignature On + AddDefaultCharset utf-8 + + RewriteEngine on + RewriteRule ^/[a-z][a-z]-[A-Z][A-Z]/(.*) /$1 [QSA,L] + RewriteRule ^/[a-z][a-z]-[A-Z][A-Z] / [QSA,L] + Redirect / /nb-NO/ + + DirectoryIndex index.pl + + + Options ExecCGI MultiViews + AddHandler cgi-script .pl + + + + -- 2.39.2