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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]