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
Old 29th July 2011, 04:49
giftsnake giftsnake is offline
Senior Member
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default integrate ispconfig vhost into managed web

is it possible to integrate the ispconfig interface into an existing website, e.g. via apache directives?
Scenario: I want to access ispconfig via https://subdomain.domain.com/ispconfig, while /webmail and /phpmyadmin etc are also available.
If necessary, a dedicated IP is on hand.

The reason: I only want to use a single ssl-cert for all services...

Similar thread: http://www.howtoforge.com/forums/showthread.php?t=39836

Thanks in advance
Reply With Quote
Sponsored Links
Old 29th July 2011, 12:02
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,186
Thanks: 829
Thanked 5,417 Times in 4,259 Posts

You can do this e.g with apache mod_proxy. Dont use aliases for this as this would cause ispconfig to run under the web user so that web users would be able to take over your server.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 29th July 2011, 14:09
giftsnake giftsnake is offline
Senior Member
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts

Thanks for the idea. I looked into documentation and ended up with the following directive:

ProxyRequests Off
<Proxy *>
   Order deny,allow
   Allow from all

SSLProxyEngine on
ProxyPass        /ispconfig https://localhost:8080/
ProxyPassReverse /ispconfig https://localhost:8080/
It works great, if I navigate to https://domain.com/ispconfig/. But once I omit the trailing slash, javascript is not redirected properly:
[error] [client IP] File does not exist: /var/www/domain.com/web/js, referer: https://domain.com/ispconfig

of course this is easy to fix with a small rewrite:
RewriteRule ispconfig$ https://domain.com/ispconfig/
but I think there has to be something else wrong before!?

Last edited by giftsnake; 29th July 2011 at 14:35.
Reply With Quote


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
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
Recommandation on partitionning a IspConfig web server pierrot10 Installation/Configuration 2 30th March 2011 19:49
Can't access web page with ISPConfig by http:// witoszek General 3 20th November 2009 17:43
shared IP | ISPConfig creates wrong vhost configs phor Installation/Configuration 4 24th December 2006 14:19
Unable to open ISPConfig Web neu2linux Installation/Configuration 27 25th May 2006 14:09

All times are GMT +2. The time now is 14:50.

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