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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > [solved] Apache Rewrite Rules with RewriteBase not working

Reply
 
Thread Tools Display Modes
  #11  
Old 01-18-2012, 11:13 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Make sure you use the below rules which was published earlier.
%

Quote:
RewriteEngine On
RewriteBase /directory/

RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)[/]*$ index.php?func=$1&urlA=$2&urlB=$3&urlC=$4 [QSA,L]
#RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^([^/]+)/([^/]+)/([^/]+)[/]*$ index.php?func=$1&urlA=$2&urlB=$3 [QSA,L]
#RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^([^/]+)/([^/]+)[/]*$ index.php?func=$1&urlA=$2 [QSA,L]
#RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^([^/]+)[/]*$ index.php?func=$1 [QSA,L]
Reply With Quote
  #12  
Old 01-19-2012, 10:57 AM
thehelpdesk thehelpdesk is offline
Member
 
Join Date: Feb 2011
Posts: 14
Default [solved]

Solved and working now. Thank you.
Reply With Quote
Reply

Tags
.htaccess, rewrite, rewrite. litespeed

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 12:16 AM.



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