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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > [solved] Alternative to Multiveiws

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-21-2011, 06:37 AM
johneva johneva is offline
New Member
 
Join Date: Mar 2011
Posts: 3
Default [solved] Alternative to Multiveiws

Hi

My host has changed to Litespeed from Apache but I am having trouble with my site now.

I have used the basic rewrite rule found on this forum and that works great for certain URL's and not so great for others.

# Multiviews
RewriteEngine On
RewriteCond %{REQUEST_URI} !.+php*
RewriteCond %{DOCUMENT_ROOT}/$1\.php -f
RewriteRule ^([^/]+)/?(.*)$ $1.php/$2 [L]

But problem I am having is that works great on this

http://www.best-butcher.co.uk/butcher-details/test/1

but when it comes to

http://www.best-butcher.co.uk/cp/rate-butcher/test/1

Or any file in the cp directory that does not contain the file extension.

It wont work for some reason. Can anybody help me out with this issue please?

Last edited by NiteWave; 03-22-2011 at 07:58 AM..
Reply With Quote
 

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 11:58 AM.



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