BioRich

Q: 10.8.5 Bypass Apache for nginx

Hi folks.

 

Trying to shut down Apache to get nginx working. 

 

Upon trying to connect to the server, it states that the "Administrator can turn on Apache".  I've installed nginx, deleted the launchdaemon for httpd (com.apple.serverd.plist) and she still won't budge. 

 

Can I turn off Apache fully?  Any help appreciated. 

 

Cheers

Mac mini, OS X Server, 10.8.x server

Posted on Jan 24, 2016 12:56 PM

Close

Q: 10.8.5 Bypass Apache for nginx

  • All replies
  • Helpful answers

  • by MrHoffman,Helpful

    MrHoffman MrHoffman Jan 28, 2016 1:29 PM in response to BioRich
    Level 6 (15,612 points)
    Mac OS X
    Jan 28, 2016 1:29 PM in response to BioRich

    Sure.   But you're not going to like the answer.    Wipe the disk, load Linux or BSD, and off you go.   Or load a VM guest, and put nginx over there. 

     

    Or load and run nginx in parallel with Apache, on a variant port — not that such will be particularly useful, unfortunately.

     

    But to more directly answer your question, OS X is not now and never really has been amenable to these quests.   Various hunks of OS X Server are very much tied into Apache.   Once you graduate to needing or wanting to overhaul or to replace core pieces of OS X Server — Apache is one of those core hunks — it's probably time to move to a platform that better provides for that.

  • by BioRich,

    BioRich BioRich Jan 28, 2016 1:19 PM in response to MrHoffman
    Level 1 (72 points)
    Servers Enterprise
    Jan 28, 2016 1:19 PM in response to MrHoffman

    Ya I got it working, but I had to shunt the listener to port 8080.  Now the LAN can't see it from inside.  What a wonderful setup. 

     

    I got a BSD setup I might route port 80 to, with nginx.  Thanks for the input.  It seems OSX Server is more of a disaster than I want it to be. 

     

    Cheers

  • by MrHoffman,

    MrHoffman MrHoffman Jan 28, 2016 2:00 PM in response to BioRich
    Level 6 (15,612 points)
    Mac OS X
    Jan 28, 2016 2:00 PM in response to BioRich

    OS X Server is not a disaster, it works quite well.   It's just not the right product for what you want to do.   OS X Server is intended for folks that don't want and don't need to customize the platform, and that can use what is provided or various add-on packages.   Folks that do want or need those customization abilities have other and better choices.  Variously much better choices.  If you're experimenting, then have a look at Veertu or one of the other virtual machine packages.

  • by BioRich,

    BioRich BioRich Jan 28, 2016 2:15 PM in response to MrHoffman
    Level 1 (72 points)
    Servers Enterprise
    Jan 28, 2016 2:15 PM in response to MrHoffman

    In my years I've used it, the GUI has proven to be a half-baked product.  Purchasing an expensive OS, server or not, should allow me to do what I want, including disabling services.  Creating an unlockable OS creates issues.  But then this is a business viewpoint, not a technical one.  I don't need a virtual machine.  I already own a box that's now going to be dedicated as an email server for a small company, because Apple didn't think their box would be purchased for a fraction of the stuff they jammed into this thing. 

  • by MrHoffman,

    MrHoffman MrHoffman Jan 31, 2016 9:00 AM in response to BioRich
    Level 6 (15,612 points)
    Mac OS X
    Jan 31, 2016 9:00 AM in response to BioRich

    Please send your feedback to the folks at Apple.  There's an option to do that in the menus in Server.app.

  • by BioRich,

    BioRich BioRich Jan 31, 2016 10:57 AM in response to MrHoffman
    Level 1 (72 points)
    Servers Enterprise
    Jan 31, 2016 10:57 AM in response to MrHoffman

    Ya they heard from me some time ago. 

     

    Thanks for the feedback.  I found the restrictions and it's quite restrictive. 

     

    Cheers