httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Vlasov <ren...@renton.name>
Subject Re: [users@httpd] RewriteCond: backreferences in TestString
Date Wed, 31 Aug 2016 10:40:46 GMT
On Fri, Aug 19, 2016 at 10:54:51AM -0400, Eric Covener wrote:
> > something like this:
> > RewriteCond /patch/ver(70) -f
> > RewriteRule ^([^?]*)\.php(.*)$ http://127.0.0.1:100%1%{REQUEST_URI} [NC,L,P]
> 
> That's valid, but it doesn't exactly match the subject of the email
> (which would not work)

It doesn't work indeed. I wrote it as an example of how I would like to
do it, in order not to write a big list of those rules that I cited at
first.
I mean for example to make the figure "70" from here:
/patch/ver(70)
move to %1 to the port number http://127.0.0.1:100%1%

Is it possible to put into practice on mod_rewrite?Or may be it is
possible using some other modules in Apache?

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


Mime
View raw message