[MKDoc-commit] [1.8] [gt] allow access to gt web-logs.
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Tue Dec 7 15:16:24 GMT 2004
Log Message:
-----------
[1.8] [gt] allow access to gt web-logs.
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.41
retrieving revision 1.42
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.41 -r1.42
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -625,6 +625,30 @@
<Location />
PerlFixupHandler MKDoc::Auth::Handler::AuthenticateOpt
</Location>
+ <Location /.server-status>
+ AuthType Basic
+ AuthName Protected
+ AuthUserFile $most_home/.gpanel/status_htpasswd
+ require valid-user
+ SetHandler server-status
+ </Location>
+ <Location /.perl-status>
+ AuthType Basic
+ AuthName Protected
+ AuthUserFile $most_home/.gpanel/status_htpasswd
+ require valid-user
+ SetHandler perl-script
+ PerlHandler Apache::Status
+ </Location>
+ RedirectMatch ^/.stats$ http://www.$domain_name/.stats/
+ Alias /.stats/ $site_dir/logs/stats/
+ <Location /.stats/>
+ AuthType Basic
+ AuthName Protected
+ AuthUserFile $most_home/.gpanel/status_htpasswd
+ require valid-user
+ </Location>
+
END
print $fh <<END;
More information about the MKDoc-commit
mailing list