LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-07-2007, 04:23 PM   #1
ddenton
Member
 
Registered: May 2007
Posts: 114

Rep: Reputation: 15
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.
 
Old 05-08-2007, 02:39 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
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
 
Old 05-09-2007, 08:28 AM   #3
ddenton
Member
 
Registered: May 2007
Posts: 114

Original Poster
Rep: Reputation: 15
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
Apache HTTP Server 2.2.3 with SSL gjagadish Linux - Software 1 01-22-2007 01:15 AM
Error 503 Apache v2-ncl Linux - Software 1 07-07-2004 06:36 PM
SSL and 503 FTP Error :: Socket kuphryn Programming 0 03-30-2004 10:41 AM
apache not connecting on ssl requests Robert0380 Linux - Software 0 06-08-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration