Some notes about OSX Server ... I've dealt with this on 10.6 and 10.8, but not
10.9 or later, so please check this rather than assume I'm correct.
Apache is running, however it is not using the standard setup in
/private/etc/apache2 .
do 'ps gauxwww | sort | grep httpd' , this might show something like
/usr/sbin/httpd -D FOREGROUND -f
/Library/Server/Web/Config/apache2/httpd_server_app.conf -D WEBSERVICE_ON
indicating all the Apache configuration is not from
/private/etc/apache2/httpd.conf
but from
/Library/Server/Web/Config/apache2/httpd_server_app.conf
start editing those files instead. Be careful, the GUI mamagement tool will
fight you. If you are configuring SSL, installing certificates etc: you MUST
use the GUI tool. Take backups of the config files regularly while making
changes.
In particular, 'apachectl configtest' no longer works as expected because it
tests the default configuration. I wrote myself a script
/usr/local/bin/configtest.sh to test the configuration we need:
=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/sh
export SERVER_INSTALL_PATH_PREFIX=/Applications/Server.app/Contents/ServerRoot
/usr/sbin/httpd -t -f /Library/Server/Web/Config/apache2/httpd_server_app.conf
=-=-=-=-=-=-=-=-=-=-=-=-=-=
On 14/03/2016 18:02,
"webobjects-deploy-bounces+pmiddleton=onestep.co...@lists.apple.com on behalf
of ute Hoffmann"
<webobjects-deploy-bounces+pmiddleton=onestep.co...@lists.apple.com on behalf
of [email protected]> wrote:
>Hi,
>I got it all working and then I had to install Server on the machine
>and now I get a 404 (not found) when I try to reach my App
>via /cgi-bin/WebObjects/... Javamonitor works.
>
>I checked and doublechecked the httpd.conf file (and all other config
>files I could find) but I see nothing suspicious. Apache is up and
>running.
>
>The Server Web Tools (Wiki at all) are reachable.
>
>This is a new Install to replace a older machine (10.7.5) and there
>server (wiki et all) and WebObjects both worked.
>Unfortunately the colleague who did the installation is no longer at
>my employer and there is nobody who knows which charm he spoke to
>make it work.
>
>Anyone around who has met this before and can point me to the
>possible cause/solution?
>
>Regards,
>
>Ute
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-deploy mailing list ([email protected])
>Help/Unsubscribe/Update your Subscription:
>https://lists.apple.com/mailman/options/webobjects-deploy/pmiddleton%40onestep.co.uk
>
>This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]