AFP548 Changing the world one server at a time.

Mixed SSL on 10.4.8

Home › Forums › OS X Server and Client Discussion › Web › Mixed SSL on 10.4.8

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #367821
    cthomas
    Participant

    I am trying to setup an internal webserver on 10.4.8 Server. So far I have got the website up and running and enabled SSL. However it seems that with SSL it is all or nothing. Is there a way to mix and match SSL enabled pages on one website? Do I need to create virtual sites that link back and forth to each other?

    Basically I want an entry page at http://site.mine.com which then links to various subsections. A few of those subsections need to be over SSL but some do not. Do I leave the ones that do not on http://site.mine.com and then create a virtual server at https://secure.mine.com and link back and forth between the two sites? Can I have just one site at http://site.mine.com that listens to both port 80 and 443? Thanks.

    – C. Thomas

    #367824
    cthomas
    Participant

    Well, I have gotten to the point of having two virtual servers. Both with the same name on the same IP but one on port 80 and one with SSL on port 443. This works fine.

    Linking between the two is a pain though as I have to use the full URL in the link

    <a href="https://mysite.com/page.html">Page</a>
    
    instead of just
    <a href="page.html">Page</a>

    There must be a way to specify that a page or directory needs to be SSL without using the full URL. Otherwise coding the site will be a pain.

    – C. Thomas

    #367912
    cthomas
    Participant

    That is what I ended up doing. I used mod_rewrite to redirect all http:// requests to https://. That part seems to work OK. Although now I have other issues but those issues deserve their own threads.

    – C. Thomas

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.