svn: /SVNROOT/ httpd.conf
| From: | Rasmus Lerdorf | Date: | Mon, 10 Feb 2014 16:24:05 +0000 |
| Subject: | svn: /SVNROOT/ httpd.conf | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75947@lists.php.net to get a copy of this message | ||
rasmus Mon, 10 Feb 2014 16:24:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332818
Log:
Block weird automated big Drupal module request
Changed paths:
U SVNROOT/httpd.conf
Modified: SVNROOT/httpd.conf
===================================================================
--- SVNROOT/httpd.conf 2014-02-10 15:09:33 UTC (rev 332817)
+++ SVNROOT/httpd.conf 2014-02-10 16:24:05 UTC (rev 332818)
@@ -24,6 +24,14 @@
Allow from all
</Directory>
+ SetEnvIfNoCase user-Agent ^Drupal drupal
+
+ <limit GET POST>
+ Order Allow,Deny
+ Allow from all
+ Deny from env=drupal
+ </limit>
+
<Location "/">
DirectoryIndex viewvc
Order allow,deny