httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andoni <andonil...@eurokom.ie>
Subject [users@httpd] Rewrite rule not working as I want it to.
Date Tue, 21 Dec 2004 09:41:20 GMT
Hi, 

Any and all help appreciated.

Can you tell me why this rule does not work:

  RewriteRule ^/mail\?file=(.*)$ /release.do?vpn=false&myfile=$1 [QSA,L,NE]

Why does this not work when request is:

www.xxx.com/mail?file=xxx.txt&com=1

I want it to become:

www.xxx.com/release.do?vpn=false&myfile=xxx.txt&com=1

It does not seem to be doing a straight substitution into $1.

Thanks,

Andoni.

Mime
View raw message