

If you know a setting that forces mod_proxy to check for the backend server on every request, please let me know. It does resume proxying after a while, but I haven't determined what causes the proxy to come back to life. When this happens, Apache returns a 503 Service Temporarily Unavailable and it doesn't seem to go away after the backend server is restarted. One issue I've seen with mod_proxy is when a request comes in and the backend server is down. If you get a "Server not found" error, you can tail the error log at "/var/log/apache2/error_log".

#MAC OS X APACHE ERROR LOG HOW TO#
It also shows how to enable SSL on Apache and force it for certain URLs in your Java web application.Īpache comes pre-installed on OS X, so you should be able to start it by enabling "Web Sharing" in System Preferences > Sharing.
#MAC OS X APACHE ERROR LOG MAC OS X#
The following instructions describe how to configure Apache 2 on Mac OS X to proxy requests to Tomcat or Jetty running on localhost:8080. The backend containers serve up different web applications, and the Apache front-end unites them from a hostname and port standpoint. I recently had to setup Apache as a front-end web server for multiple backend servlet containers. Apache 2 on OS X: Configuring mod_proxy and SSL
