I have (I believe) managed to install MunkiServer and all its dependencies and get it working via Apache in Server.app on a Mountain Lion server. The website runs and the MunkiServer admin interface loads and lets me login. It also lets me manually add a computer and upload a .dmg for a test package. This package then shows up correctly in /usr/local/munkiserver/packages
A test client connects and (after it has initially been manually added to MunkiServer) updates its info in MunkiServer.
My problem is that the test package (an optional install) whilst being listed in the webadmin and Managed Software Update, fails to download to the client which gets the message
Download of XXX failed: HTTP result 200: OK
Further testing shows that even trying to download the same package in the MunkiServer webadmin page on the server itself also fails producing a zero byte file.
This is a single Mac server config with no replicas. Being that I am running Server.app the main httpd.conf file is located at
/Library/Server/Web/Config/apache2/httpd_server_app.conf and not at /etc/apache/httpd.conf I have added the three lines to that file to load mod_passenger.so and ruby and for what its worth mod_xsendfile.so was already listed.
Any suggestions anyone?
Thanks, John