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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to