Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



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

Posts: 3
Trades: 0
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
 
 
Register now for full access!
Old 03-28-2008, 10:03 PM Re: mod_rewrite problem
Novice Talker

Posts: 11
Name: Logan
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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
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.09423 seconds with 12 queries