httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Carleton" <scarle...@miltonstreet.com>
Subject [users@httpd] RewriteRule
Date Sun, 23 Mar 2008 15:04:05 GMT
I am trying to get this URL

/category/838fe8cb-40d2-4a38-85ba-a1ee46214894/p.php?7

Turned into this:

index.php?fldoid=838fe8cb-40d2-4a38-85ba-a1ee46214894&p=7

The category/fldoid is always going to be present, the p can be
changed for other variables, so this is what I came up with, but the 7
is not being picked up by the PHP code:

RewriteRule ^category/([^/]*)/([\d\w]*)\.php$ index.php?fldoid=$1&$2= [L]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message