Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 31st January 2012, 00:00
platan platan is offline
Junior Member
Join Date: Oct 2008
Posts: 9
Thanks: 0
Thanked 4 Times in 2 Posts
Send a message via Skype™ to platan
Default Quiet redirection from http to https on port 8080

SSL on port 8080
Problem: Error 400: Bad Request - ... Hint: http://...:8080
when http access. Terrible!

A small trick will solve the problem.

In a file: /etc/httpd/conf/sites-available/ispconfig.vhost add error document line before </VirtualHost>:
  SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
  ErrorDocument 400 "<script>document.location.href='https://example.com:8080/';</script><a href='https://example.com:8080/'>https://example.com:8080/</a>"
  1. Hostname (example.com) must be hardcoded. %{HOST_NAME} or something does not work.
  2. You must reenter ErrorDocument every time, You update Ispconfig3 system.


Last edited by platan; 31st January 2012 at 00:10.
Reply With Quote
The Following 2 Users Say Thank You to platan For This Useful Post:
almere (18th March 2013), Quijote Shin (18th March 2013)
Sponsored Links


http to https redirection, https, ssl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 16:08
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 03:29
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 14:15
http to https redirection for port 81 - ISPConfig TheMaximumWeasel Installation/Configuration 6 31st May 2007 00:30
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40

All times are GMT +2. The time now is 16:10.

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