Hi *,
I am trying to install a seafile cloud storage server on my hosted virtual server running Plesk 11.0.9. To access the web interface I need to configure the vhost.conf of the subdomain I use to redirect the request to the server.
To use HTTPS for the interface I need to configure the corresponding vhost_ssl.conf. But the only way to do this is the vhost_ssl.conf of the root domain leading to a redirect for the root domain, but that's not what I intended. What am I missing here?
I am trying to install a seafile cloud storage server on my hosted virtual server running Plesk 11.0.9. To access the web interface I need to configure the vhost.conf of the subdomain I use to redirect the request to the server.
Code:
RewriteEngine On
# seafile httpserver
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
# seahub
RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /seahub.fcgi/$1 [QSA,L,E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
To use HTTPS for the interface I need to configure the corresponding vhost_ssl.conf. But the only way to do this is the vhost_ssl.conf of the root domain leading to a redirect for the root domain, but that's not what I intended. What am I missing here?