rewriterule

Alles, was den Apache betrifft, kann hier besprochen werden.

rewriterule

Postby evelinbinder » 04. February 2010 18:54

Hi all

how do I replace a getparameter with apache directives.
I have an URL like this:
http://myserver/alias/cgi-bin/myapp.cgi?a=3
what I like to have as result is:
http://myserver/alias/cgi-bin/myapp.cgi?bb=5

Can somebody help me ?

My try so far:
RewriteEngine On
RewriteLogLevel 9
RewriteLog "c:/temp/rewrite.log"
RewriteRule ^(.*)a=3([^0-9]*)$ $1bb=5$2 [R=301]

Regards
E.
evelinbinder
 
Posts: 2
Joined: 04. February 2010 18:49

Return to Apache

Who is online

Users browsing this forum: No registered users and 2 guests