LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   HTTP 503 when connecting to Apache with SSL (https://www.linuxquestions.org/questions/linux-server-73/http-503-when-connecting-to-apache-with-ssl-552050/)

ddenton 05-07-2007 04:23 PM

HTTP 503 when connecting to Apache with SSL
 
After much ado, I've configured (manually compiled) Apache 2.2.4 with SSL on RHEL 4. This is strictly a development and testing installation, so I copied the SSL conf and ssl.* directories from another machine. I've made what I think are the neccessary tweaks to the conf file, but when I try to connect to the server using HTTPS I get "Server Temporarily Unavailable". Access logs don't show anything more than an HTTP 503's. Can anyone please assist? The configure statement for Apache is below...

./configure --enable-mods-shared=most --enable-ssl=shared --prefix=/opt/apache/ --enable-proxy --enable-proxy-http

As far as I know the installation is using the openssl install that came with the distro. Also, there are no errors when starting or stopping apachectl.

bathory 05-08-2007 02:39 AM

Quote:

Access logs don't show anything more than an HTTP 503's.
Did you check error_log? Note also that you don't need to make ssl shared (since it's bundled in apache2), so you can change your configure script like this:
Code:

./configure --enable-mods-shared=most --enable-ssl --prefix=/opt/apache/ --enable-proxy --enable-proxy-http

ddenton 05-09-2007 08:28 AM

HTTP 503's
 
I found out what the problem was. The configuration file for SSL was referencing some Mod Proxy directives that were set up to send traffic (based on destination file or folder) to Tomcat running on different ports. Tomcat wasn't running on the machine in question, so the traffic couldn't be forwarded and the server responded that the distination service timed out.

Thanks to Bathory for your input...


All times are GMT -5. The time now is 04:33 AM.