securing apache howto problems

New to mod_rewrite? This is a good place to start.

securing apache howto problems

Postby durchsetzung » Sun Jun 12, 2005 9:10 am

hi

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.
durchsetzung
 
Posts: 1
Joined: Sun Jun 12, 2005 8:57 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 70 guests

cron