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, 05: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, 13:02
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 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, 15: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 15: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 19:17
Recommandation on partitionning a IspConfig web server pierrot10 Installation/Configuration 2 30th March 2011 20:49
Can't access web page with ISPConfig by http:// witoszek General 3 20th November 2009 18:43
shared IP | ISPConfig creates wrong vhost configs phor Installation/Configuration 4 24th December 2006 15:19
Unable to open ISPConfig Web neu2linux Installation/Configuration 27 25th May 2006 15:09

All times are GMT +2. The time now is 00:39.

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