diff options
| author | Morten Werner Olsen <werner@debian.org> | 2006-08-30 21:55:56 +0000 |
|---|---|---|
| committer | Morten Werner Olsen <werner@debian.org> | 2006-08-30 21:55:56 +0000 |
| commit | f390ad8645b0464ee9aa8f4951da136562f043f5 (patch) | |
| tree | 9da8e4a2c4379023e45a97bb6a99d0015a3968c1 /apache.conf | |
| parent | b1f2a499e23e913a02bcd12ea650d410e17206b0 (diff) | |
| download | sitesummary-f390ad8645b0464ee9aa8f4951da136562f043f5.tar.gz sitesummary-f390ad8645b0464ee9aa8f4951da136562f043f5.tar.bz2 sitesummary-f390ad8645b0464ee9aa8f4951da136562f043f5.tar.xz | |
try to fix apache configuration
Diffstat (limited to 'apache.conf')
| -rw-r--r-- | apache.conf | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/apache.conf b/apache.conf index 18d7fa5..a1a6368 100644 --- a/apache.conf +++ b/apache.conf @@ -1,15 +1,17 @@ # -# New URL site/sitesummary/ listing the current statistics, and -# site/cgi-bin/sitesummary-collector.cgi to receive submissions. +# New URL http://<host>/sitesummary/ listing the current statistics, and +# http://<host>/cgi-bin/sitesummary-collector.cgi to receive submissions. # -NameVirtualHost * -<VirtualHost *> - ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ - <Directory "/usr/lib/cgi-bin"> - AllowOverride None - Options ExecCGI -MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all - </Directory> -</VirtualHost> +Alias /sitesummary /var/lib/sitesummary/www +ScriptAlias /cgi-bin/sitesummary-collector.cgi /usr/share/sitesummary/cgi-bin/sitesummary-collector.cgi + +<Directory /var/lib/sitesummary/www> + AllowOverride None + Options +SymLinksIfOwnerMatch -MultiViews + + # allow only localhost per default + Order deny,allow + Deny from all + Allow from 127.0.0.1 +</Directory> |
