i´m trying to get that rules from
http://www.cgisecurity.com/lib/ryan_bar ... tical.html
to work.
- Code: Select all
RewriteEngine On
RewriteLog /usr/local/apache/logs/ids.log
RewriteLogLevel 9
RewriteRule \.\.|\.\.\.|\s|\'|\"|\+|\/\/|\[|\]|\;|\~|\#|\%|\^|\&|\(|\)|\{|\}|\;|\?|\,|<|<<||\||\!|\`|>|>>|\@|\$|\* - [F]
RewriteRule /\.[a-z0-9]|/bin|/sbin|/etc|httpd\.conf|access_log|error_log - [F]
apache won´t start error message is
- Code: Select all
RewriteRule: cannot compile regular expression '\.\.|\.\.\.|\s|\'|\"|\+|\/\/|\[|\]|\;|\~|\#|\%|\^|\&|\(|\)|\{|\}|\;|\?|\,|<|<<||\||\!|\`|>|>>|\@|\$|\*'
apache 1.3.33 on debian 3.1
any suggestion or comments would be appreciated m.