Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:config:rewrite-logs [2018/05/07 20:19]
Jackson Zhang [For Installations Using Apache Configuration Files]
litespeed_wiki:config:rewrite-logs [2018/05/07 21:11] (current)
Jackson Zhang [For Installations Using Apache Configuration Files]
Line 29: Line 29:
   RewriteLog "/​usr/​local/​var/​apache/​logs/​rewrite.log"​   RewriteLog "/​usr/​local/​var/​apache/​logs/​rewrite.log"​
  
-You need to locate the virtual host where the error is occurring (make sure you set it on the right virtual host, such as 80 virtual host or 443 virtual host, or both if required) so you can set the rewrite log level for that virtual host. If you are using cPanel, everything is usually in your ''​httpd.conf''​ file. Other setups may have virtual hosts in separate directories.+You need to locate the virtual host where the error is occurring (**note:make sure you set it on the right virtual host, such as 80 virtual host or 443 virtual host, or both if required. You won't see any rewrite log output if you set to the wrong virtual host, such as setting to 80 one but your testing is on 443.**) so you can set the rewrite log level for that virtual host. If you are using cPanel, everything is usually in your ''​httpd.conf''​ file. Other setups may have virtual hosts in separate directories.
  
 In your virtual host settings, add the RewriteLogLevel directive followed by a number for how detailed you want your logs to be. ''​1''​ is least detailed. ''​9''​ is most detailed. ''​0''​ will turn off rewrite logging. For example: In your virtual host settings, add the RewriteLogLevel directive followed by a number for how detailed you want your logs to be. ''​1''​ is least detailed. ''​9''​ is most detailed. ''​0''​ will turn off rewrite logging. For example:
  • Admin
  • Last modified: 2018/05/07 21:11
  • by Jackson Zhang