Forum Moderators: phranque

Message Too Old, No Replies

SSL and rewrite

         

a2dak

10:52 pm on Jul 16, 2007 (gmt 0)

10+ Year Member



Hello All,
I am trying to accomplish a couple of things that have eluded my grasp. Keep in mind I am relatively new to Apache so I apologize if this is an incredibly simple answer. At any rate, I need to have the following on a webserver.

www.domain.com and domain.com go to one webpage, anyotherinput.domain.com goes to a second webpage which has a login. This I have set up with two different enabled sites. However, I need to do the following
1. Enable SSL for anyotherinput.domain.com
2. Set up mod rewrite to redirect port 80 requests on anyotherinput.domain.com to port 443 anyotherinput.domain.com

As an added wrinkle, the anyotherinput portion of the URL has to be preserved since each login has its own URL.

Please help!
Thank you in advance.
If I have missed anything please feel free to ask me any questions you feel are pertinent.

a2dak

6:07 pm on Jul 19, 2007 (gmt 0)

10+ Year Member



Anybody?

jdMorgan

7:01 pm on Jul 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We're not set up to write the code for you, but can answer specific questions about your implementation and test results.

For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com]. For SSL-specific examples, try a site search [google.com].

Jim