Hello,
I have an SSL certificate of www.example.org. Now I want to proxy
another domain (which is a v-host on the same server) through the
beforementioned SSL domain.
My first try was: (in the doc root .htaccess)
RewriteCond %{HTTP_HOST} ^.*ssl\.example\.org$
RewriteRule ^(.*)$ http://target.com/$1 [L,P]
This works but the certificate is not valid for ssl.example.org only
for www. thus the browser raise an error.
Second try: (in a sub dir named proxy .htaccess)
RewriteRule ^(.*)$ http://target.com/$1 [P,L]
There raises the problem that the application on target.com perfoms an
redirection to /foo/bar/ (mind the first slash) with proxy that makes
example.org/foo/bar/ which raises an 404. example.org/proxy/foo/bar/
would be fine.
How can I get around these problems?
Thanks,
Florian
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]