Introduction
If you are having difficulties with redirects, or are seeing the following error, you may consider enabling rewrite logs for your domain to diagnose the issue.
Maximum number of redirect reached.
Procedure
NOTE: On cPanel servers, LiteSpeed uses Apache configuration files.
First, create an Apache include for your domain by using the following instructions:
How to use Apache Includes to add configuration directives to a specific domain's virtualhost
Include the following directive in both the std and ssl versions of the Apache include:
<IfModule LiteSpeed> RewriteLogLevel 9 </IfModule>
Then restart LiteSpeed with the following command:
/scripts/restartsrv_apache --restart
You may then review the logs at the following location:
/etc/apache2/logs/error_log
The following LiteSpeed documentation provides the basis for this guide:
Comments
0 comments
Article is closed for comments.