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
RewriteRule help needed
Old 05-16-2008, 02:44 AM Question RewriteRule help needed
Junior Talker

Posts: 1
Trades: 0
Hi All,
I am having a little bit of trouble with this:
PHP Code:
RewriteEngine On
RewriteRule 
^(.*)/(.*)/(.*) map_handle.php?file=$3&username=$1&folder=$
But the $1 should stop at the first / and the rest should be in the $2 until the last / where it should be in $3
atm i am getting this:
PHP Code:
username test/materials/decals/custom/mani_admin_plugin
folder 
mani_admin_plugin
file 
mani_logo.vtf 
When I want:
PHP Code:
username test
folder 
materials/decals/custom/mani_admin_plugin
file 
mani_logo.vtf 
Please help
King Goilio is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to RewriteRule help needed
 

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