[Netpass-devel] NetPass/www/htdocs autohandler,1.6,1.7
Brought to you by:
jeffmurphy
From: jeff m. <jef...@us...> - 2005-08-22 19:26:17
|
Update of /cvsroot/netpass/NetPass/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3124/www/htdocs Modified Files: autohandler Log Message: appstarter changes Index: autohandler =================================================================== RCS file: /cvsroot/netpass/NetPass/www/htdocs/autohandler,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- autohandler 25 Apr 2005 19:15:02 -0000 1.6 +++ autohandler 22 Aug 2005 19:26:08 -0000 1.7 @@ -9,6 +9,12 @@ </%args> <%init> +if ( ($r->uri =~ /^\/Admin\//) && ($ENV{'HTTP_X_MOZ'} eq "prefetch") ) { + use Apache::Constants; + _log("DEBUG", "GWA denied for ".join(' ', $r->hostname, $r->uri)); + return FORBIDDEN; +} + use NetPass; use NetPass::Config; use NetPass::DB; |