Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 25th January 2013, 20:48
kendel kendel is offline
HowtoForge Supporter
Join Date: Aug 2010
Posts: 132
Thanks: 4
Thanked 1 Time in 1 Post
Default ReverseProxy Redirect "HTTPS" howto?

I got the subdomain ReverseProxy to work on port 80.
Panel server config:
<VirtualHost *:80>
DocumentRoot /var/www/ispconfig
ServerName cp.example.com
ServerAlias cp.example.com
<Directory "/var/www/ispconfig">
allow from all
Options +Indexes
Webserver config
<VirtualHost *:80>
ServerName cp.example.com
ServerAlias cp.example.com
ProxyRequests Off
ProxyPreserveHost on
ProxyPass /
ProxyPassReverse /
This works perfectly fine, I would like to do an "HTTPS" version and made a 5th grader attemp. First I made a copy of the default ispconfig conf file on the panel server and called it scp.example.com and I changed the listen port to 443:
Panel Server default Ispconfig (made a copy):
NameVirtualHost *:443

<VirtualHost _default_:443>
  ServerAdmin webmaster@localhost

  <IfModule mod_fcgid.c>
DocumentRoot /usr/local/ispconfig/interface/web/
    SuexecUserGroup ispconfig ispconfig
    <Directory /var/www/ispconfig/>
      Options Indexes FollowSymLinks MultiViews +ExecCGI
      AllowOverride AuthConfig Indexes Limit Options FileInfo
      AddHandler fcgid-script .php
      FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
      Order allow,deny
      Allow from all
Ok theres alot more in that file that what I just showed, but lets cut it short....
Now I created the Reverse Proxy on the webserver... (assuming default port for "HTTPS" is 443
The Web server:
<VirtualHost *:443>
RequestHeader set X-Forwarded-Proto "https"
    ProxyPreserveHost On
ServerName scp.example.com
ProxyRequests Off
ProxyPreserveHost on
ProxyPass /
ProxyPassReverse /

Doesn't work at all...What am I missing?
If you are looking for examples of an ISPConfig 3 Multiserver Setup, Visit my website Here!!!

Last edited by kendel; 26th January 2013 at 06:23.
Reply With Quote
Sponsored Links


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
Aliasdomain 301 Redirect Not Working Unfaiir Installation/Configuration 0 23rd September 2012 00:31
Sieve Redirect PaulDG General 1 22nd June 2012 19:35
Redirect Problems in ISPConfig midcarolina General 0 27th November 2011 18:34
New feature request: Frame redirect funtion for ISPConfig3 Hans Feature Requests 1 12th January 2011 01:43
Redirect Wireless Client to Late-Pay Notice giganet Server Operation 1 19th June 2009 09:57

All times are GMT +2. The time now is 23:12.

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