Improved 404 message for unconfigured vhosts.
This commit is contained in:
parent
46a14f752c
commit
4a09fe9105
@ -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,6 +27,7 @@
|
|||||||
<Directory />
|
<Directory />
|
||||||
SSLRequireSSL On
|
SSLRequireSSL On
|
||||||
Redirect 404 /
|
Redirect 404 /
|
||||||
|
ErrorDocument 404 "No virtual host configured for this host name."
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
Reference in New Issue
Block a user