Error in log viewer !

Discussion in 'General' started by pyaz, Jun 23, 2011.

  1. pyaz

    pyaz New Member

    Hello

    under error in Server Log Viewer :

    Code:
    ERROR	[config] rewrite: unknown server variable while parsing: RESPONSE_BODY
    What causes this error?
    When I send a request to another page will not load!
  2. NiteWave

    NiteWave Administrator

    maybe errors in your .htaccess

    find out which .htaccess caused the issue:
    #grep RESPONSE_BODY .htaccess

    and paste the .htaccess here.
  3. pyaz

    pyaz New Member

    thanks for answer !

    htaccess to change the name of my problem was solved!
    Htaccess but it must be open to internal pages
    my htaccess :
    Code:
    Options -Indexes
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /amlak/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /amlak/index.php [L]
    </IfModule>
  4. NiteWave

    NiteWave Administrator

    the .htaccess looks ok. any more issue ?
  5. pyaz

    pyaz New Member

    yes !
    when .htaccess rename to .htaccess1 :
    mydomain.com = no prblem
    but internal pages
    mydomain.com/any_page/ = error 404 !
  6. NiteWave

    NiteWave Administrator

    don't rename .htaccess

    your domain require this .htaccess. rename it or without it, will cause 404 error. --- just as expected behavior.
  7. pyaz

    pyaz New Member

    If I do not rename this file"htaccess" ERROR "[config] rewrite: unknown server variable while parsing: RESPONSE_BODY" error is displayed in server log
    Last edited: Jun 23, 2011
  8. NiteWave

    NiteWave Administrator

    got it. have you installed mod_security rules ? try disable it and see if the error gone.
    Last edited: Jun 23, 2011
  9. pyaz

    pyaz New Member

    I remove all the lines?

    Error in the removal of all lines currently exist
    Last edited: Jun 23, 2011

Share This Page