Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Thanks. Whereabouts should I be putting my directory specification?
Am I doing this completely wrong by specifying it in ssl.conf, although this seems to work..
Would a virtual host declaration be better?
I'm speaking largely out of ignorance here, so take this with a grain of salt.
I would think that ssl.conf wouldn't be the best place to put this. If a connection comes in on http, I'm not sure that ssl ever plays a role, so ssl.conf may not ever be used.
I used a virtual host declaration largely because I have several virtual hosts, and that was the one I wanted re-directed to https no matter what. I suppose .htaccess could do the same, but it was easier to do it in a virtual host declaration since I had to create one anyway.