Using .htaccess to redirect specific .php file requests



Can .htaccess redirects be used to redirect .php files based on the
parameters the request is passing? For instance, can:

Redirect /question.php?number=10 /question_about_cars.php?number=10

be made to only redirect question.php when the passed parameter number
= 10? The Redirect line above redirects ALL requests to /question.php
regardless of what number is = to.

Thanks for the assistance.

.



Relevant Pages

  • Re: Preventing Request.Form abuse
    ... I think I would redirect them to a large video file on one of the online ... also block their IP real time in the filter, so any future request from them ... If we were to use a real rather than a fictitious URL for the redirect, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HELP! - I need to setup a temporary IIS redirect while I fix SQL Injection vulnerabilities o
    ... Can I go a global redirect like this in IIS to prevent the request ... but it will NOT scan the Querystring. ... All it takes is a few encodings/permutations and ...
    (microsoft.public.inetserver.iis.security)
  • Re: NetApp filers 3rd party API
    ... then I'd trigger operations based on this request ... and finally redirect the request back to the NetApp. ...
    (comp.arch.storage)
  • Re: jsps not serving from context root in netbeans server
    ... I was doing that anyway) but I must admit despite reading the API and ... this method can help with maintaining context root. ... My main points have to do with keeping the request and avoiding the round trip ... The leading '/' moves the redirect out of the context. ...
    (comp.lang.java.programmer)
  • Re: Regulation of the websites access
    ... The redirect feature functions exactly the same. ... When you specify the destination to which to redirect the request, ... ISA Server sends the URL specified here to the Web ... The client Web browser then tries to access the object from ...
    (microsoft.public.isa)