httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Wiedmann <carsten_st...@gmx.de>
Subject [users@httpd] Re: Apache httpd does not respect the HTTP RFCs !
Date Tue, 01 Dec 2009 13:23:07 GMT
Carsten Wiedmann schrieb:
> It's the same as with:
> | RewriteRule ^.*$ - [R=400]
> 
> BTW:
> If "httpd-multilang-errordoc.conf" is enabled, all above solutions are also
> not working nice. Because now the error document shows:

Just for the records. This is doing the trick:
| NameVirtualHost *:80
|
| <VirtualHost *:80>
|     ServerName nonexistent
|
|     RewriteEngine On
|     RewriteCond %{IS_SUBREQ} false
|     RewriteCond %{REQUEST_URI} !/error/HTTP_BAD_REQUEST.html.var
|     RewriteRule ^.*$ - [R=400]
| </VirtualHost>


Regards,
Carsten


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message