Debian redirect apache to apche-ssl
Hi,
I have apache and apche-ssl packages instelled on debian 3.1 sarge.
I want users to access my pages using https only. I can remove apache and leave only apache-ssl but I know for sure that lot of my website visitors will not put https in from of the website address.
So my question is that how can I redirect http to https for all my pages?
I tried using php script header but it does not work
header("Location: https ://web_address/anotherdir/start.php");
Ay idea?
Thanks a lot
Last edited by klyshi; 10-04-2005 at 09:45 AM.
|