Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

http and https version of same site, setup help needed

On our 10.6.x server we have our web site set up via Server Admin. Server admin allowed for the same domain to be set up twice, once for http on port 80, and once for https on port 443 using a self signed certificate. Our site was able to be browsed on either port.


We manually wrote a redirect into the site Apache files for pages including webmail and AWstats to be forced to https. In doing so the user is always asked if they want to trust the self signed certificate. We have no need for a signed certificate for our site. We do not want to force all pages to be browsed on port 443. All we want to do is force certain pages to be encrypted for use by our staff only.


I have not been able to recreate this setup in Lion or Mountain Lion in testing. I would like to get our site over to Lion or Mountain Lion.


Any suggestions how to begin? I do not know Apache but I can get at the site files from our current installation.


Thanks - Erich

Apache-OTHER, OS X Server

Posted on Aug 6, 2012 9:37 AM

Reply
3 replies

Aug 6, 2012 10:19 AM in response to Erich Wetzel

I tried to set this up using Server on Lion with my entries being identical other than the port number


Using a browser to go to http://server.example.com gave me the index page for the site.


Using a browser to go to https://server.example.com gave me an error saying "You don't have permission to access / on this server."


Permissions are set for everyone to read in the folder the site is in and all of the contents.

http and https version of same site, setup help needed

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.