"Tarun Narang" <[email protected]> writes:
> How could I redirect all my requests for http to https ?
Hello Tarun,
We use RedirectMatch for this. See:
http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirectmatch
> However, I have to redirect the non SSL request to SSL request, like when the
> user requests for http://localhost:8080/hsbc it should be redirected to
Try something like this:
RedirectMatch ^/hsbc(.*)$ https://localhost:4430/hsbc$1
I hope this helps, I'm not sure I understood exactly what you were
asking in your message.
Good luck!
----Scott.
---------------------------------------------------------------------
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]