httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mistery" <mistery2...@fastwebnet.it>
Subject [users@httpd] url rewriting question
Date Sat, 15 May 2004 13:21:00 GMT
Hi all,

i'm trying to configure a rewiting rule to translate the url
http://www.mysite.com/dir/page[,param] into
http://www.mysite.com/index.php?d=dir&p=page&s=param where dir may be any
string except "user" and "admin" and param is optional

I tried the following rule with no success:

RewriteRule
/([^/|^(user)|^(admin)]+)/([^/]+)[\,]?([^/]*)/([^/]+)[\,]?([^/]*)
/index.php?t=$1&s=$2&p=$3 [L]

I hope someone might be able to help me.

Many tnx!
Mistery




---------------------------------------------------------------------
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