Reply
mod_rewrite problem
Old 03-25-2008, 04:06 PM mod_rewrite problem
Junior Talker

Posts: 3
hiya

currently, we're using mod_rewrite to convert uris of the form

/1/ to /users.php?id=1

with the following code in .htaccess:

RewriteRule ^([0-9]+)/ /items.php?identity=$1

we would also like to convert uris of the form

/1/?meaningoflife=42 to /items.php?id=1&meaningoflife=42

and have spent lots of time fiddling with regex's and have got nowhere

could anyone help?
thx
amitie is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-28-2008, 09:03 PM Re: mod_rewrite problem
Novice Talker

Posts: 11
Name: Logan
I suggest this;

http://www.workingwith.me.uk/article...ng/mod_rewrite

Good luck
SSANZ is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to mod_rewrite problem
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15385 seconds with 13 queries