Apache :: Excessive Internal Redirects Error
Nov 4, 2013
What was causing this:
I installed a url shortner script but the link that the script creates takes you to a server error page.
I viewed the logs and I get this error over and over again.
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.
this is what is in my htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
View 1 Replies
ADVERTISEMENT
Oct 10, 2012
- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21
I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:
Code:
AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user
Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.
If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:
500 Internal Server Error
The server encountered an internal error or
misconfigruation and was unable to complete your request. (…)
The apache error log file contains the following message:
Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.
The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.
The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :
Code:
[error] [client xyz]
mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer:
http:<URL>
[Code] ....
View 3 Replies
View Related
Aug 14, 2008
Does anyone know a script or something I can edit to fix this commonly seen error in the apache error_log:
[Wed Aug 13 22:09:25 2008] [error] [client IP] 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., referer: [url]
I don't want to increase anything as I read from different places that , that's not good to do. Most say there is a rule written wrong somewhere or something, or a loop of some kind, but I'm not sure how or where to fix it.
View 1 Replies
View Related
Oct 23, 2008
We're on Apache and when I insert a handful of 301 redirect statements, the 500 internal server error comes up.
Example:
Redirect 301 /products/tech.html /products/technology.html
It doesn't matter if I used the absolute URL or not for the new destination.
View 8 Replies
View Related
Jun 3, 2014
I'm moving a site (Windows XP) from Apache 2.2 to the Apache Lounge server 2.4.9 under Windows 7.I exchanged httpd.exe and all modules and the server runs fine when I type localhost into the URL field of Firefox.But as soon as I type in the site name which I have assigned a VirtualHost to, I'm getting an Error 500 (Internal Server Error).
View 1 Replies
View Related
Jan 17, 2015
I've been running my website for years and now yesterday I update 2 files, the same way I always do, and when I try to load them in a browser I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
The log says this:
[my ip] - - [17/Jan/2015:00:07:55 -0500] "GET /site/index.php HTTP/1.1" 404 - "-" [my agent string]
Permissions are 644, same as for the other files. I haven't encountered anything like this before and am totally stumped.
View 1 Replies
View Related
Sep 29, 2014
I am using user authentication with the following components:
Apache/2.4.10 (Win32) + mod_auth_basic + mod_authn_dbd + mod_dbd + ODBC Driver + Microsoft SQL Server 2008(SP3).
It works fine except when I do not provide any username when browser asks for username and password. In this case I receive the "Internal Server Error" as the response instead of "Unauthorized" response.
The most interesting part of the error.log is:
[Sat Sep 27 21:23:17.639860 2014] [authn_dbd:error] [pid 1208:tid 1636] [client 127.0.0.1:1363] AH01656: Query execution error looking up '' in database [[dbd_odbc] SQLBindParameter returned SQL_ERROR (-1) at apr_dbd_odbc.c:604 [Microsoft][ODBC SQL Server Driver]Invalid precision value HY104 ]
The AuthDBDUserPWQuery directive in my httpd.conf is:
AuthDBDUserPWQuery "SELECT password FROM member WHERE CONVERT(VARCHAR(10), member_Index) = %s"
And the member_Index column in the database is smallint.
View 5 Replies
View Related
Apr 5, 2007
I'm having a problem that I've never run across before, and was wondering if anyone might have any ideas as to what may be causing this.
Basically, on 3 of 5 new servers on a brand new private rack from The Planet, we're having what we've narrowed down to be a problem with PHP or Apache. Loading any sort of PHP page with a larger output (even such as a simple 'phpinfo' call) results in, depending on the computer or browser in use:
- The page loading for a split second then reverting to a DNS Server Not Found page (observed in IE)
- The page loading, but filling the source code with vast amounts of extra blank spaces, making a simple phpinfo call download 5+mb of HTML (observed in both IE and Firefox)
- The page loading part way, then hanging (observed in Firefox)
- Occasionally the page will reload over and over again all by itself until it ultimately goes to a DNS error page (observed in IE)
Pages not including PHP, including very long .HTML and .SHTML pages, load just fine.
Here's a link to a page calling a simple phpinfo string, and nothing else (as this is my first post, I can't link directly to URLs, sorry):
View 1 Replies
View Related
Feb 2, 2008
We're running a VBulletin forum. I've been able to put basic redirects in place. But I'm fuzzy on how to direct links/search engines for forums/threads to the new location.
Here's the situation.
[url]
to
[url]
View 4 Replies
View Related
Oct 5, 2007
I upgraded my PHP to 5.2.4 ang changed server API from Apache to CGI, and now a site doesnt load anymore...
It gives this error message: Fatal error: Internal Optimizer error: can't translate opcode 60 (JMP_NO_CTOR), please contact Zend support in /home/vrock/public_html/rwf/rwengine.lib on line 0
PHP Version 5.2.4
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
View 3 Replies
View Related
Jul 19, 2008
There are a lot of permanent redirects in one of my customer's server. I tried to remove them through clicking the remove button but although it gave a "deleted" message, it failed to do so..
Are you sure you wish to permanently remove the redirect ** All Requests ** on ** All Public Domains **
I click YES and i got the message below.
The redirect ** All Requests ** on ** All Public Domains ** has been removed.
But redirect define is still there.
What should i do? I can access to server via SSH. So may be i can handle with this just editing some file(s)?
View 8 Replies
View Related
Mar 18, 2014
There is a page on a separate SharePoint environment, under http://domain.edu/yyy/yyy/yyy/yyy. We have a subdomain called http://123.domain. edu . We need the home page of http://123.domain,edu to point to the SharePoint site, so when users type http://123.domain.edu , they are redirected to http://domain.edu/yyy/yyy/yyy/yyy.
The trick is this - we need all sub-directories NOT to redirect. So, whatever is under http://123.domain.edu/subdirectory should not redirect at all. Is this doable? Also, if it is, I have no clue where to go to make any changes, so any instructions would be great. So far, I have found the text file httpd.conf that I can edit, but I have no clue about the rest.
View 1 Replies
View Related
Jul 12, 2007
The following error occurred: [code=RESOURCE_RECLAIMED] Internal error. Try again.
from 4 hour to know thats what i get when i go to my site
ftp not work
i host with hostmonster also his forum give me this error i open ticket not reply to know is this from me or from him?
View 0 Replies
View Related
Apr 5, 2013
I have a WAMP server that hosts a few sites, but I have a particular site with about 5 domains. I want them all to point to the correct website folder and all to be redirected to a single domain for SEO purposes. Here is what it looks like in the virtual hosts file:
<VirtualHost 50.62.82.101>ServerAdmin info@hovaness.comDocumentRoot "c:/wamp/www/example"ServerName example.comServerAlias example.net www.example.com www.examples.net www.examples.com examples.com examples.netErrorLog "logs/example.com.log"
View 1 Replies
View Related
Jun 19, 2013
I'm currently struggling with an issue on our Apache 2.2.24 home-rolled installation on an OEL 6.2 x64 linux server that front-ends for a Glassfish cluster via proxypass.The httpd.conf manages 4 virtual hosts with each virtual host entry rewriting to HTTPS.
Anyone trying to access the HTTP address redirects to HTTPS just fine.The issue is that anyone using the HTTPS address gets redirected to the Document Root defined in Apache instead of being proxypassed to Glassfish.
I had set up a dummy DocumentRoot with a simple index.html meta redirect and what happens is that anyone directly accessing HTTPS will hit the index.html file which redirects to the the https site. At this point it simply loops to infinity.
View 1 Replies
View Related
Nov 15, 2013
Server Version: Apache/2.2.22 (Unix)
On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.
Here's the most trivial example I can come up with that reproduces the problem for us:
POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334
In addition to the 500 error in the access log, we see the corresponding error in the error log:
(70014)End of file found: Error reading request entity data
Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.
The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.
Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.
So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]
But this won't work for all our scripts, because in some cases we do want to permit POST.
View 2 Replies
View Related
May 2, 2008
I just received an email saying
We were forced to suspend your account due to excessive apache connections causing ftp to go down. Here is a snapshot of the activity:
242-0 22189 0/57/57 W 1.24 10 0 0.0 0.09 0.09 xxxxxx xxxxxx.com
243-0 22194 0/1/1 W 0.01 0 0 0.0 0.00 0.00 xxxxxxx xxxxxx.com GET
244-0 22214 0/4/4 W 0.15 4 0 0.0 0.03 0.03 xxxxxx xxxxx.com GET
And when I was on the phone with the support, they told me my site had opened up 400 apache connections + using the GET command and was causing FTP slow downs.
It just happens so that a file I posted made its way to a popular forum and all the sudden, everyone was downloading the file.
What is the best way to correct this problem? and GET? Isn't that a FTP Command? but people were downloading via [url]
View 2 Replies
View Related
Jul 8, 2007
When trying to access my webpage (www.avillafan.com) i get this message:
Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@avillafan.com 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.avillafan.com Port 80
So i contacted my host and he says its not a problem he can solve. Its a problem my end. However i cant see how as my site was working fine this morning.
So i accessed my cpanel and looked at the Error Log. And it says this message about 300 times!
Quote:
File does not exist: /home/villafan/public_html/500.shtml
(11)Resource temporarily unavailable: couldn't spawn child process: /home/villafan/public_html/index.php
View 5 Replies
View Related
Mar 6, 2009
I am getting 500 Internal server error.What may be the reason ?
The site was running fine till yesterday.
View 5 Replies
View Related
Jun 2, 2009
I run a proxy. First, I was on shared hosting. Worked for 2 months. then, bam! 500 internal server error.
I moved to a smaller VPS with 128 MB RAM. Worked for 30 min, then 500 internal server error again...
So now I moved to a larger VPS with 512 MB RAM, 1 GB burstable. Worked for 2 days, and now the 500's is back...
Rebooting the VPS usually fixes it, but I can not be sure I can continue rebooting it, as I expect it getting worse later.
It usually starts with lighttpd goes insane. One minute it's using 30 mb RAM, ok that's good. Then suddenly it uses 300 mb. then 500 mb. Then the 500 internal server error occur.
So any ideas of how I should configure this so it would work in a better way?
This is filled in the error log:
2009-06-02 13:21:16: (mod_indexfile.c.182) file not found ... or so: Too many open files / -> /home/admin/datashelf.net/
View 14 Replies
View Related
Jul 31, 2008
I just assume my files in the server of my website has some virus.
so i just delete all the files and upload it again.
But after i upload it website doesnt open.
Why?It shows the message 500 Internal server error.
View 6 Replies
View Related
Jan 22, 2008
How can I fix an internal server error?
View 7 Replies
View Related
Jan 14, 2007
I have been trying to create my own web gallery using Adobe's Web Photo Gallery (as it seem to be so easy to use). I have created my gallery and it all seems to work fine when testing on my desktop. However, once I upload the files I get the error "internal Server Error"
View 5 Replies
View Related
Jun 17, 2007
what is a 500 internal server error? i was uploading things to my site and all the sudden on one of the pages where i submit a form it gives me a 500 internal server error. i contacted support and they said they were working on it. i have tried to upload an old version of the file that worked before but it still gave me the same error. they said they would get back to me within 24 hours, its been three days and i still have the problem and no notes/email from them . does internal sever error mean its not a problem on my side or could it be some of my code causing the problem?
View 5 Replies
View Related
Jul 19, 2009
I have useing lighttpd for my website,my site Only picture.
but if access peak , There are often 500 Internal Server Error,
View 10 Replies
View Related
May 9, 2009
my friend is getting frequently 500 - Internal Error on his sites when ever he starts to get good amount of traffic at a moment, and by the time it resets to normal more than half the traffic is lost, he is using wordpress blog, some other applications not of any traffic, an IPB forum, and some other image hosting script
in total he has 3 databases used, he's not running to outage of RAM, he is using max.
70% of RAM at the pt. when this occurs, checked once long way back..
he usually gets lots of traffic to blog and image host as he posts some real good stuff..
View 9 Replies
View Related
Mar 24, 2009
Here is the log when I got 500 Internal Server Error
GET /webmail/ HTTP/1.1
Host: www.domain-name.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
--172dce78-F--
HTTP/1.0 500 Internal Server Error
X-Powered-By: PHP/5.2.9
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 20
Connection: close
Content-Type: text/html
--172dce78-H--
Apache-Handler: application/x-httpd-php
Stopwatch: 1237885301072213 12079 (504 908 11749)
Producer: ModSecurity for Apache/2.5.7 [url] ; core ruleset/1.6.0.
Server: Apache
--172dce78-K--
--172dce78-Z--
None of security rules is listed in that error log, so I am totally lost. It's working once when I restart apache, but after that, it's not working anymore.
View 7 Replies
View Related
Jan 2, 2008
I installed new apache (2.2.6) and mod_security 2. I wish to block some file globally by:
SecRule REQUEST_URI ".*(some_file).php?.*"
but how to NOT BLOCL for some folder / account? I tried to add to .htaccess:
<Files some_file.php>SecFilterInheritance Off</Files>
or
<Files some_file.php>SecRule Off</Files>
or
<IfModule mod_security2.c>SecRule Off</IfModule>
or
<IfModule mod_security2.c> SecRuleEngine Off</IfModule>
but always I have Internal Server Error
View 8 Replies
View Related