Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

How to enable RewriteLog in the MAPPstack

$
0
0

I included a "RewriteLog" directive in httpd.conf, like this:

<IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteLog "/Applications/mappstack-5.4.12-0/apache2/logs/rewrite.log"
      RewriteLogLevel 5
  </IfModule>

When starting Apache (in MAPPstack), I get the following error message:

    Starting Apache Web Server...
    Exit code: 8
    Stdout:
    apache config test fails, aborting
    Stderr:
    AH00526: Syntax error on line 517 of
       /Applications/mappstack-5.4.12-0/apache2/conf/httpd.conf:
    Invalid command 'RewriteLog', perhaps misspelled or defined by
       a module not included in the server configuration

I'm refering to Apache documentation: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog

Am I doing something wrong or is something missing in the MAPPstack?


Viewing all articles
Browse latest Browse all 2052

Trending Articles