malformed htaccess kills apache

MMarko

Verified User
Joined
May 10, 2006
Messages
70
Location
eu
Do you know any solution to prevent this?

Basically every customer can bring server down with malformed htaccess.

Is there any solution to prevent this?

This doesn't help:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteOptions MaxRedirects=5
</IfModule>


This is htaccess that causes problems:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>



thanks
 
Bring it up on an apache forum/list if it's not already been added to their bugtracking. Then the next version should fix it ;) .

Jeff
 
Back
Top