You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by meharo <me...@gmail.com> on 2008/12/17 06:11:48 UTC

Common mod_rewrite rule for simple dynamic to static URL rewrite

Can we have a rule to convert 

_http://www.mydomain.com/path/to/myfile.jsp?ARG1=VAL1&ARG2=VAL2&....&ARGN=VALN

into 

_http://www.mydomain.com/path/to/myfile/ARG1-VAL1/ARG2-VAL2/..../ARGN-VALN.html

-- 
View this message in context: http://www.nabble.com/Common-mod_rewrite-rule-for-simple-dynamic-to-static-URL-rewrite-tp21047335p21047335.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Common mod_rewrite rule for simple dynamic to static URL rewrite

Posted by Eric Covener <co...@gmail.com>.
On Wed, Dec 17, 2008 at 12:11 AM, meharo <me...@gmail.com> wrote:
>
> Can we have a rule to convert
>
> _http://www.mydomain.com/path/to/myfile.jsp?ARG1=VAL1&ARG2=VAL2&....&ARGN=VALN
>
> into
>
> _http://www.mydomain.com/path/to/myfile/ARG1-VAL1/ARG2-VAL2/..../ARGN-VALN.html

http://wiki.apache.org/httpd/RewriteQueryString

If you need more help, include what you've tried and the result.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org