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