hi, 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
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.
Thanks for the idea. I looked into documentation and ended up with the following directive: Code: ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> 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: Code: [error] [client IP] File does not exist: /var/www/domain.com/web/js, referer: https://domain.com/ispconfig edit: of course this is easy to fix with a small rewrite: Code: RewriteRule ispconfig$ https://domain.com/ispconfig/ but I think there has to be something else wrong before!?