RewriteLog and LiteSpeed

Discussion in 'General' started by Fastian, Mar 29, 2010.

  1. Fastian

    Fastian New Member


    With my apache server, I have following added in my httpd.conf file.
    RewriteEngine On
    RewriteLog /usr/local/apache/logs/rewrite_log
    RewriteLogLevel 5 
    And I am getting Rewrite log file without an issue. I did the same thing with LiteSpeed server and the log is blank. Nothing in it. My error_log, access_log and rewrite_log all are under nobody:nobody. (access_log and error_log are working fine)

    Can you help me out here?
  2. mistwang

    mistwang LiteSpeed Staff

    Litespeed does not use separate rewrite log, just check error_log, make sure log level is set at INFO or DEBUG.
  3. Fastian

    Fastian New Member

    I was afraid you would say that.
    With Apache, I can use RewriteLogLevel 9 to get the extensive rewrite logging.

    What I can do with Litespeed to get that?

    Since Litespeed is reading configuration settings from httpd.conf, shouldn't it give some kind of notice if something in file is being ignored. (i.e. not competiable)
  4. mistwang

    mistwang LiteSpeed Staff

    grep "REWRITE" from error_log to extract rewrite log entries.

Share This Page