[MKDoc-commit] [1.6] [gt] allow access to gt web-logs.

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Tue Dec 7 15:40:20 GMT 2004


Log Message:
-----------
[1.6] [gt] allow access to gt web-logs.

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/tools:
        install-details-gt.pl

-------------- next part --------------
Index: install-details-gt.pl
===================================================================
RCS file: /var/spool/cvs/mkd/tools/install-details-gt.pl,v
retrieving revision 1.21.2.19
retrieving revision 1.21.2.20
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.21.2.19 -r1.21.2.20
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -383,6 +383,18 @@
     RedirectMatch permanent .+/\.sitemap\.html\$ http://www.$domain_name/.sitemap.html
     Alias /.static/css    $site_dir/resources/skin
     Alias /.static        $site_dir/static
+
+    <Location /.server-status>
+        SetHandler server-status
+    </Location>
+    <Location /.perl-status>
+        require valid-user
+        SetHandler perl-script
+        PerlHandler Apache::Status
+    </Location>
+    RedirectMatch ^/.stats$ http://www.$domain_name/.stats/
+    Alias /.stats/ $site_dir/logs/stats/
+
     Alias /               /usr/local/mkdoc/cgi/mkdoc.cgi/
 END
 my $handler = <<END;


More information about the MKDoc-commit mailing list