apache httpd.conf https
Anybody know how I can configure a virtual host to take me to a secure page aka https....
Say I type mail.blah.com, I want it to take me to: https://mail.blah.com My virtual host at the moment looks like this: <VirtualHost *:80> ServerName mail.blah.com DocumentRoot /xxx/yyy/zzz/mail ServerAdmin depp@blah.com </VirtualHost> Thanks for any good ideas :) Hube |
Im not too sure about what ur talking about but if u wanna modify ur conf files u can use webmin i think u can get it at webmin.com sorry if this is not what u mean :confused:
Matt3333 |
Nah...
I can just edit the httpd.conf file using vi, I'm more interested in what to put in the file. I tried playing around with this using no-ip.org i.e change the target so that a user typing http://mail.blah.com would get routed to https://mail.blah.com (notice the addition of the 's') but for some reason it didn't like that... Hube |
Quote:
selection is a matter of the browser, mate. If you want to be "forced" into a secure connection you'll have to put a link to the secure page on a normal http-page, maybe with a invisible, automatic redirection ... but that, again, is not a thing of your httpd.conf, but of your index.html. Not quite sure what you want, though. Cheers, Tink |
OK, That's fine, just curious if there was an 'easy' way to do it, I kind of want to enforce that a user can only login using https (ssl), telling users to use mail.blah.com is better than www.blah.com then hit this button (one less step!).
Thanks for helping. |
Have a look at Apache's mod_rewrite.
|
Quote:
All you need is index.html Code:
<head> Cheers, Tink |
So many options :D
Thanks, I can crack it from there. I appreciate the quick responses, this is COOL :) |
All times are GMT -5. The time now is 07:55 AM. |