serving both http and https pages on same site
I am very happily testing my application on my Jaunty Apache2 server - thanks to many brilliant how-to articles it's been a breeze.
I started with just the http server; then I enabled an additional ssl-enabled server to serve my https pages but I doubt II really need two servers?
When I take this application live - (I think it's destined for an IIS server) - I assume will migrate only one document root directory structure .... whereas I have two servers now - one answering to port 80 https and one answering to port 443 for https requests ... and some pages are on both servers. BTW both servers in /etc/apache2/
Obviously many sites around the world serve some http pages and some https pages. So what is the recommended solution - to have two servers - one ssl-enabled and one not .... then what about index.html which shouldn't require a new visitor to type https://<mysite>.index.html - or even know we have a secure server until we establish a secure connection with her?
Can you spell out clearly what the usual solution is?
(I did read about redirection or rewriting rules but didn't know if they are relevant ... or fully understand the cryptic discussion)
Many many thanks!
FYI I need https files for a) authenticated callbacks from PayPal and for image files that Paypal will use to serve pages for visitors / customers to our e-commerce site and b) encrypted interactions withthe administrator of the site.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Steven Danna
- Solved:
- Last query:
- Last reply: