Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache commands with 2nd instance on Mac OS X

I have a Mac OS X 10.9/Mavericks Mac which I have just installed FileMaker Server v13. The FileMaker Server installer creates its own instance of the Apache web server and configures this web server to use port 80 for HTTP and port 443 for HTTPS. The document root for this instance is located at:

/Library/FileMaker Server/HTTPServer/htdocs

I'm trying to use the Apache commands via the Mac OS X Terminal to stop/start/restart this instance but it looks like it's trying to use the standard OS X Apache not the FileMaker Server installed instance.

For example I would like to use:

sudo apachetctl restart

When there are 2 instances of Apache installed how do you specify which instance you wish to command?

like image 802
user982124 Avatar asked Nov 23 '25 02:11

user982124


1 Answers

Finally found the answer. The following syntax will work:

sudo /Library/Filemaker\ Server/HTTPServer/bin/httpdctl graceful

like image 190
user982124 Avatar answered Nov 24 '25 21:11

user982124