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

Correct httpd_server_app.conf in Mountain Lion Server

Hi,



I originally configured Apache on Mountain Lion (client NOT server) 10.8.x.



I then installed FileMaker Server 12, and configured php & custom web publishing. All worked great.



I then upgraded to Mountain Lion SERVER through the app store. I wanted to do this to allow easy configuration of virtual hosts, amonst other things.



Now I have a problem...


When I make web server configuration changes using the Server app the changes are correctly reflected in /Library/Server/Web/Config/apache2/httpd_server_app.conf


But the problem is... when Apache starts it still uses /etc/apache2/httpd.conf

None of the changes I make through Server app are reflected when I visit the server with a browser. And when I visit the server I just get the default 'It Works!' webpage.


How do I get Apache to respect /Library/Server/Web/Config/apache2/httpd_server_app.conf at startup?


Thanks,


b.

Mac mini, OS X Mountain Lion (10.8.4), Server

Posted on Jul 1, 2013 12:28 PM

Reply
Question marked as Best reply

Posted on Jul 2, 2013 10:46 PM

This worked for me...


sudo rm -rf /Applications/Server.app


It remapped my services without erasing my data. Here is a link to the article.


https://discussions.apple.com/thread/4141719?start=0&tstart=0

5 replies

Jul 3, 2013 6:31 AM in response to Ckiszka

Thank you.


I deleted server app using sudo rm -rf /Applications/Server.app


After reinstalling via App store the correct http conf file is being used by Apache, ie.


/Library/Server/Web/Config/apache2/httpd_server_app.conf


I have no idea why this was not done the first time around. Perhaps becuase I was running Apache on the Mountain Lion Client and did not stop Apache before upgrading to ML Server?


Anyway, I hope this helps someone since this was a tough one to define. Bottom line is, if you go to localhost on your Mountain Lion Server and get "It works" your server is likely using the wrong config file.


Thanks again for the help,


b.

Correct httpd_server_app.conf in Mountain Lion Server

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