Improved 404 message for unconfigured vhosts.

This commit is contained in:
Michael Hierweck 2017-06-29 14:12:53 +02:00
parent 46a14f752c
commit 4a09fe9105

View File

@ -10,6 +10,7 @@
<Directory /> <Directory />
Redirect 404 / Redirect 404 /
ErrorDocument 404 "No virtual host configured for this host name."
</Directory> </Directory>
</VirtualHost> </VirtualHost>
@ -26,8 +27,9 @@
<Directory /> <Directory />
SSLRequireSSL On SSLRequireSSL On
Redirect 404 / Redirect 404 /
ErrorDocument 404 "No virtual host configured for this host name."
</Directory> </Directory>
</VirtualHost> </VirtualHost>
#end #end