• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk vhost.conf issue and proxy engine.

brainforge

Basic Pleskian
I have just upgraded by Plesk 9 to Plesk 10 - everything looks fine.

However, I have a subdomain plesk.mydomain.com which is configured using the vhost.conf file for mydomain.com:8443 so that I can get into Plesk from locations where port 8443 is blocked.

This worked find in Plesk 9, but does not work in Plesk 10.
The rewrite commands in vhost.conf file works fine but the proxy commands appear to be ignored.
I just end up at the default Apache test page. Any ideas as to how to correct this.

RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule $ https://plesk.mydomain.com [R,L]

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

SSLProxyEngine on
ProxyRequests off
ProxyPass / https://localhost:8443/
ProxyPassReverse / https://localhost:8443/
 
Discovered the problem.

Starting from Plesk 9.5.3 the way vhost*.conf files are handled for subdomains changed.
We had skipped that version and went straight to Plesk 10.
The correct way of doing this for Plesk 10 is as follows:

In .../subdomains/plesk/conf create file: vhost.conf
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule $ https://plesk.mydomain.com [R,L]

In .../subdomains/plesk/conf create file: vhost_ssl.conf
SSLProxyEngine on
ProxyRequests off
ProxyPass / https://localhost:8443/
ProxyPassReverse / https://localhost:8443/
 
in addition to that

whenever i tried to uncheck the SSL box for that subdomain, received a segfault terminate for httpd and i had to start it again, after reading some post here, i downloaded websrvmng provide dby igor, since i updated it, httpd no longer crashes after i uncheck/re-check the SSL box, but i still can't get this to work no matter what i go in vhost.conf & vhost_ssl.conf

Please advise...
 
Back
Top