You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by congo thomas <ap...@thva.dk> on 2012/01/28 00:30:30 UTC

[users@httpd] ssl need explicit https

hello world,

i have this webserver (apache 2.2.15 redhat) on which i want a vhost with
ssl. i only want one nic, so i configured a new public ip to nat its port
443 into my local ssl port (not 443) for the vhost. The nat tunnels are
open and works as expected.
However when i setup apache to listen on the nonstandard ssl port and
enable ssl, the client/browser is met with a requirement to switch to
https.

http://web.site:443 gives:

400 bad request
yada yada
please visit https://web.site

So i want apache to allow 443 on standard http protocol to automatically
forward to https protocol.
I tried rewriting the url to use https; though rewriting rules was not
respected at all...
How can i do this?



br
congo


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org