lore skrev:
> hi all,
> i've just realize an https web server ( on trustix 2.2 ) and i'd like to
> redirect every connection on port:80 to port:443.
Aiaiai. This smells like trouble ;)
You are trying to force your users to use SSL I take it?
This won't work. What you want to do is create an index.php on the vhost
running on port 80 with the following contents:
<?php
header("Location: httpd://mysite.com");
?>
Either that or use mod_rewrite.
Port 80 uses HTTP, 443 uses HTTPS, different protocols in other words.
Report back if I misunderstand and there is identical protocols on both
ports.
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss