security

#24
Bad Request 400 shows "Powered By LiteSpeed Web Server"

Hi Mistwang. Although I have done my own 400.html page with server setting "Hide Full Header" and e.g. my own 404.html does show, this message below is not replaced by my 400.html page. Although the title below is "400 Bad Request", and my message 400 is maintained under VH - General - Cust Error Pages. Also, when I enter the direct <site path>.400.html, my 400 does come up properly. How can I replace this message below ? It is triggered when I enter http:<site>:443. Many thanks.

HTTPS is required

This is an SSL protected page, please use the HTTPS scheme instead of the plain HTTP scheme to access this URL.

Hint: The URL should starts with https://

Powered By LiteSpeed Web Server
http://www.litespeedtech.com

<html><head><title>400 Bad Request</title></head><body>
<h2>HTTPS is required</h2>
<p>This is an SSL protected page, please use the HTTPS scheme instead of the plain HTTP scheme to access this URL.<br />
<blockquote>Hint: The URL should starts with <b>https</b>://</blockquote> </p>
<hr />
Powered By LiteSpeed Web Server<br />
<a href='http://www.litespeedtech.com'><i>http://www.litespeedtech.com</i></a>
</body></html>
 

mistwang

LiteSpeed Staff
#28
vhost level custom error page is available now, it is just that a 400 error page does not below to any vhost as LSWS does not finish parsing the request at all. so it has to be set at server level.
 
Top