Apache Server configuration support - Deny ScriptAlias from VirtualHost

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2007 > Deny ScriptAlias from VirtualHost





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Deny ScriptAlias from VirtualHost
brianhray@gmail.com

2007-09-30, 1:27 pm

For some reason, I am unable to deny (216.80.126.112) myself with
this:

<VirtualHost 207.210.221.109>

ServerName chipy.org
ServerAlias www.chipy.org chipy.org

Alias /chipy "/usr/share/moin/htdocs/"
ScriptAlias / "/usr/share/moin/cgi-bin/moin.cgi/"

<Directory "/usr/share/moin/cgi-bin/moin.cgi">
AllowOverride None
Options None
Order deny,allow
Allow from all
deny from 216.80.126.112
</Directory>

</VirtualHost>

Once I get it working, I would like to add some spammers IP to the
deny from ... But this does not seem to be working. Can someone tell
me why?

Thanks, Brian Ray

brianhray@gmail.com

2007-09-30, 1:27 pm

Crap, just figured out from http://moinmoin.wikiwikiweb.de/RedirectingExternalLinks

<Directory "/usr/share/moin">
Options Indexes Includes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny

#global wiki ban list
deny from 216.80.126.112

Allow from all
</Directory>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com