Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-22-2010, 01:08 PM
|
#1
|
Member
Registered: Dec 2004
Posts: 40
Rep:
|
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
|
|
|
06-22-2010, 01:14 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
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.
|
|
|
06-22-2010, 01:52 PM
|
#3
|
Member
Registered: Dec 2004
Posts: 40
Original Poster
Rep:
|
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.
|
|
|
06-22-2010, 02:26 PM
|
#4
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
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.
|
|
|
06-22-2010, 02:32 PM
|
#5
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
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
|
|
|
06-22-2010, 02:37 PM
|
#6
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
I suggest reading through this, specifically this bit.
|
|
1 members found this post helpful.
|
06-23-2010, 08:04 AM
|
#7
|
Member
Registered: Dec 2004
Posts: 40
Original Poster
Rep:
|
thanks
|
|
|
All times are GMT -5. The time now is 12:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|