HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   http/https error message in plain text (http://www.howtoforge.com/forums/showthread.php?t=60296)

manarak 22nd January 2013 12:24

http/https error message in plain text
 
ISPconfig panel works in https mode, so when trying to access via http, an error message is displayed.

Here is the message (I anonymized the domain name):
Quote:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a href="https://blabla.com:8080/"><b>https://blabla.com:8080/</b></a></blockquote></p>
</body></html>
The problem is that this message appears in plain text in the browser, it doesn't get interpreted as HTML by the browser.
What could be the cause of this behavior?

Ben 25th January 2013 13:09

I'd pesonally say that there is something broken in the config. You might check with httpfox (Plugin for firefox) or similar stuff what the delivered content-type is in the http header. But I assume it is plain text and not text/html.
Thus any config setting for serving either the default or custom error pages must be wrong.
Sorry to be so unclear.

You might also check the access / error log while reproducing this behaviour, maybe this might give you a hint as well.

did this beahaviour just appear for specific vhosts and / or out of a sudden or since the first setup?

manarak 25th January 2013 13:22

It happens on all servers I installed with Falko's "perfect server" How-to for Debian with Apache and ISPConfig3, when choosing the "secure" option for in the ispconfig installation routine.

All other pages, including error pages, appear fine.


All times are GMT +2. The time now is 20:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.