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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 23rd August 2009, 18:20
martinfst martinfst is offline
Senior Member
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default ISPConfig 2 behind a proxy

If you want to run ISPConfig behind a proxy, because you don't want to run SSL on port 81, but also don't want to change the ISPC code, you might want to run a proxy to redirect e.g. https://ispc.example.tld to https://server.example.tld:81.
You can setup an Apache configuration like for the ispc website (you can put this in the Apapche directives of an ISPconfig website if you like):

ProxyRequests Off
SSLProxyEngine on
<Proxy https://ispc.example.tld/>
Order deny,allow
Allow from all
<Location />
Order deny,allow
Allow from all
ProxyPass / https://server.example.tld:81/
ProxyPassReverse / https://server.example.tld:81/
I did find some errors in the ISPC2 code unfortunately. Some parts of the code use a statement like:
<?echo $go_info["server"]["server_url"]?>
to generate the URL. I believe this is wrong. You should leave it to the webserver to stick to its website. In order to solve this, I had to edit three files to make ISPC2 work correctly behind a proxy:
and remove the redirect link code per above for every entry which begins with
 menuDaten.neu(new LinkEintrag
Perhaps this can be changed in the standard codebase of ISPConfig 2?
Reply With Quote
The Following User Says Thank You to martinfst For This Useful Post:
falko (24th August 2009)
Sponsored Links


ispconf, proxy, proxypass

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
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 15:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
ISPConfig Beta released till General 38 21st September 2008 20:15
ISPConfig Beta Released till General 77 23rd July 2008 13:14
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16

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

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