LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-22-2010, 01:08 PM   #1
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Rep: Reputation: 15
http returns 500 Internal Server Error but not https


I installed an application and when I tried accessing via HTTP it errors out saying

Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
But I can access it via HTTPS!

I know this is a server error...but how do i fix this? Can it be the .htaccess file that comes with it is mis-configured?

thanks.

C
 
Old 06-22-2010, 01:14 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. The fact that you can't access it by HTTP (port 80) and you can by HTTPS (port 443) might be completely irrelevant.

2. "500: server error" is *extremely* generic - the underlying problem could be just about *anything*.

3. SUGGESTED STEPS:
a) Identify exactly what "application" is on the link you failed to reach.
Simple HTML files? PHP or ASPX scripts? A Tomcat servlet container? A JBoss application server? Something else entirely? A combination of some or all of the above?

b) Try to see if that "application" has any logs.
Examine them.

c) See if the "container" (for example, Tomcat and/or JBoss) has any logs.
Examine them.

d) Look at your web servers logs (e.g. /var/log/apache)

e) Look at your server logs (e.g. /var/log/messages)

'Hope that helps .. PSM

Last edited by paulsm4; 06-22-2010 at 01:15 PM.
 
Old 06-22-2010, 01:52 PM   #3
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
hi.

the app is not recording these types of errors.

This is what I see under /var/log/httpd/error_log

[Tue Jun 22 14:37:57 2010] [error] [client xxx.xxx.xxx.xx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

and from /var/log/messages

Jun 22 10:45:33 servername ntpd[6126]: synchronized to 207.171.30.106, stratum 1

Not sure what this means.

BTW. I am using apache on a redhat linux. No tomcat...

thanks.
 
Old 06-22-2010, 02:26 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
The "app" is drupal, and you haven't configured it correctly, or you have changed something. Check all the config files that deal with standard non-https pages and content. It's not an apache server error, it's an error that apache can do nothing about. You get the same thing with misconfigured perl or php scripts.
 
Old 06-22-2010, 02:32 PM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,923

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
Hi,

Quote:
Request exceeded the limit of 10 internal redirects due to probable configuration error.
You have a RewriteRule in your http site that produces a loop

Cheers
 
Old 06-22-2010, 02:37 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
I suggest reading through this, specifically this bit.
 
1 members found this post helpful.
Old 06-23-2010, 08:04 AM   #7
ceci2
Member
 
Registered: Dec 2004
Posts: 40

Original Poster
Rep: Reputation: 15
thanks
 
  


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
Getting 500 Internal Server Error !! Deepaks Linux - Server 0 04-11-2009 06:49 AM
500 Internal server error fa_khan50 Linux - Newbie 0 01-02-2008 12:13 AM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM
500 Internal Server Error bship Linux - Software 5 01-19-2007 04:48 PM
HELP! CGI problem : HTTP 500 - Internal server error eech55 Programming 2 10-11-2004 11:27 AM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration