Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:config:rewrite-logs [2020/02/11 14:16]
Jackson Zhang
litespeed_wiki:config:rewrite-logs [2020/05/07 18:36] (current)
Jackson Zhang [For Installations Using Apache Configuration Files]
Line 25: Line 25:
 If your installation of LSWS is using Apache'​s configuration files, you will need to enable rewrite logging in your Apache configurations. If your installation of LSWS is using Apache'​s configuration files, you will need to enable rewrite logging in your Apache configurations.
  
-First, ''​RewriteLog''​ directive ​doesn'work for LiteSpeed since LSWS will write rewrite logs to the server'​s error_log.  ​+First, ''​RewriteLog''​ directive ​DON'work for LiteSpeed since LSWS will write rewrite logs to the server'​s error_log.  ​
  
 Second, LiteSpeed supports ''​RewriteLogLevel''​ directive to define rewrite log level. ​ Second, LiteSpeed supports ''​RewriteLogLevel''​ directive to define rewrite log level. ​
Line 33: Line 33:
 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:
  
-  RewriteLogLevel ​2+  ​ 
 +  <​IfModule LiteSpeed>​ 
 +  ​RewriteLogLevel ​
 +  </​IfModule>​
  
 Graceful restart LSWS so the changes will take effect. Graceful restart LSWS so the changes will take effect.
  • Admin
  • Last modified: 2020/02/11 14:16
  • by Jackson Zhang