Thread: .htaccess rule
View Single Post
  #1  
Old 03-17-2012, 09:13 AM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Default .htaccess rule

Hi Guys,

Customer has a RewriteRule working under apache, but not Litespeed.

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^documents/VCOSS_docs/(.*) /documents/VCOSS%20docs/$1

ErrorDocument 404 /errors/404.html

Basically the client has a legacy folder in their home directory which has a space, so they need to rewrite it from a _ to %20 (space) char.

I've tried changing it to RewriteRule ^documents/VCOSS_docs/(.*) /documents/VCOSS\%20docs/$1 but it hasn't made any difference.

Can you suggest a way to do this?

Cheers,
Craig
Reply With Quote