LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Expression Engine

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2007, 10:20 PM
Rodney-E2 Rodney-E2 is offline
Member
 
Join Date: May 2007
Posts: 25
Default Expression Engine

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?
Reply With Quote
  #2  
Old 07-11-2007, 07:31 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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 .
Reply With Quote
  #3  
Old 07-12-2007, 11:16 AM
Rodney-E2 Rodney-E2 is offline
Member
 
Join Date: May 2007
Posts: 25
Quote:
We’ve ruled out anything to do with EE or the plugin at this point - this is purely a .htaccess and mod_rewrite issue, but we’ll work with you to try to figure out what is going on. It really does sound like a restriction on the hosting end, though.
I got this reply from EE.
Is their no limitations within litespeed for this rule?
Reply With Quote
  #4  
Old 07-12-2007, 05:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
Reply With Quote
  #5  
Old 07-13-2007, 09:22 AM
Rodney-E2 Rodney-E2 is offline
Member
 
Join Date: May 2007
Posts: 25
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.
Reply With Quote
  #6  
Old 07-13-2007, 09:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
OK, got it.
The fix should be in the latest 3.2 build.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:53 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.