Expression Engine

Discussion in 'Apache Migration/Compatibility' started by Rodney-E2, Jul 11, 2007.

  1. Rodney-E2

    Rodney-E2 New Member

    We have a customer who is using expression engine and is getting 500 errors when running their rewrite rules, below is a copy of the .htaccess file:

    Code:
    
    # REDIRECT ROOT
    # /////////////////////////////
    
            DirectoryIndex index.php
    
    
    # REMOVE INDEX.PHP FROM EE
    # /////////////////////////////
    
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^(.*)$ /index.php/$1 [L]
    
    does anyone have any idea why this is occurring?
  2. mistwang

    mistwang LiteSpeed Staff

    The 500 error is not likely related to the rewrite rule, you can comment out the rewrite rule see if you still get the 500 error. Just acccess the rewritten URL directly, like /index.php/org/path .
  3. Rodney-E2

    Rodney-E2 New Member

    I got this reply from EE.
    Is their no limitations within litespeed for this rule?
  4. mistwang

    mistwang LiteSpeed Staff

    I don't think it is the rewrite rule.
    You can add "RewriteLogLevle 9" to the configuration of this vhost in httpd.conf. then check the rewrite log in error.log.
  5. Rodney-E2

    Rodney-E2 New Member

    Code:
    2007-07-13 11:21:02.248 [ERROR] [76.205.236.166:51693-0#APVH_www.DOMAIN.com] Maximum number of redirect reached.
    2007-07-13 11:21:02.248 [ERROR] [76.205.236.166:51693-0#APVH_www.DOMAIN.com] Maximum number of redirect reached.
    2007-07-13 11:21:02.326 [ERROR] [76.205.236.166:51694-0#APVH_www.DOMAIN.com] Maximum number of redirect reached.
    2007-07-13 11:21:02.326 [ERROR] [76.205.236.166:51694-0#APVH_www.DOMAIN.com] Maximum number of redirect reached.
    
    This is returning this, remember, this is the exact same working .htaccess code that is used in apache and recommended by EE.
  6. mistwang

    mistwang LiteSpeed Staff

    OK, got it.
    The fix should be in the latest 3.2 build.

Share This Page