Forum Moderators: phranque

Message Too Old, No Replies

Redirecting port 80 from apache

mod_rewrite or mod_alias?

         

delboy1978uk

1:03 pm on Sep 16, 2005 (gmt 0)

10+ Year Member



Hi folks, my webserver has finally been secured using SSL!

However...here's my problem

I type in: What happens
[localhost...] Serves up my secure site on https ssl
[localhost:443...] same as above
[localhost...] Serves up unsecure version of above!
localhost another insecure way of entering my site!

I then turned off listen port 80, but I get page not found.
I need to have port 80 point to port 443, so that i just need to type localhost and it will take me to [localhost...] on port 443 instead

I have been told either mod_alias or mod_rewrite will take care of this - Does anyone know how? I already have mod_alias on my apache 2 install