On Tue, Apr 21, 2009 at 6:48 AM, Tarun Narang
<[email protected]> wrote:

> By using the rewrite engine rule and the proxy settings specified below,
> I am able to receive the entire http request to https. Please have a
> look and let me know, I understood you correctly or not this time.
>
> LoadModule proxy_module modules/mod_proxy.so
> ProxyRequests Off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> ProxyPass /hsbc http://localhost:8082/hsbc
>
> LoadModule rewrite_module modules/mod_rewrite.so
> RewriteEngine On
> RewriteCond %{HTTPS} !=on
> RewriteRule ^/(.*) https://%{SERVER_NAME}:4430/$1 [L,R]

That should indeed work. If a browser contacts your server using http
it is instructed to use https in stead, and everything is then proxied
to your old server. if this fits your requirements I'd keep it like
that.

Krist


-- 
[email protected]
[email protected]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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]

Reply via email to