Jump to content

Testing Site - Links throw server error


mskitti

Recommended Posts

Version 1.7.8.6. Site is in maintenance mode. When I test the front end by clicking on any link or product to view it, Iget the error page below.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

 

Any help is appreciated.

MsKitti

 

Edited by mskitti (see edit history)
Link to comment
Share on other sites

Found the issue. There were redirects within the .htaccess file causing the issue. On line 42-45 of /home/website directory/public_html/.htaccess seemed to have been the issue and commented them out and now everything seems to be working so far.

Line number on left (commented out with #):
 42 #Domain: domain name.com
 43 #RewriteCond %{HTTP_HOST} ^domain name.com$
 44 #RewriteRule . - [E=REWRITEBASE:/2nd_store name/]
 45 #RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url    =$1 [QSA,L]

It may be worth reviewing the redirects further as they were causing the 500 error and this to generate within the Apache error log:

[Wed Jun 22 16:42:06.657229 2022] [core:error] [pid xxxxx:tid xxxxxxxxxxxxxx] [client x.x.x.x:34688] AHxxxxx: 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.

MsKitti

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...