corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Mod Rewrite Rules


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Mod Rewrite Rules
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
22nd Aug 07 at 17:21   View Garage View User's Profile U2U Member Reply With Quote

Anyone any ideas how to get a mod rewrite to process spaces, or at least carry them across as %20

my current rule is

RewriteRule ^showroom/([a-zA-Z0-9\-_.^%20]+)
http://www.vagweb.co.uk/forums/album.php?user=$1 [L,NC]

however i need it to process a space should the link have one, at the moment if there is a space it ignores everything after the space
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
22nd Aug 07 at 17:24   View Garage View User's Profile U2U Member Reply With Quote

nevermind i done it

RewriteRule ^showroom/([^/]+) http://www.vagweb.co.uk/forums/album.php?user=$1 [L,NC]

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
FAO Ditch (ABOUT YOTA ENGINES FOR THOSE FAG BUTT MUNCHING SITE SURFING MONGERS) Cybermonkey General Chat 23 423
30th Nov 05 at 11:48
by Ditch
 
Fee - strathycruise AK General Chat 135 3607
30th Dec 06 at 01:45
by CorsaLad
 
PHP dudes Dom Geek Day 3 815
29th Nov 06 at 21:21
by Dom
 
Liverpool ask FIFA for dispensation to loan Mascherano Robbo Sports Day 21 689
17th Jan 07 at 17:19
by jr
 

Corsa Sport » Message Board » Off Day » Geek Day » Mod Rewrite Rules 29 database queries in 0.0133042 seconds