httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea" <>
Subject Re: [users@httpd] Rewrite Rule Question
Date Fri, 28 Feb 2003 11:54:33 GMT
put these rules inside the DirectoryBlock into your httpd.conf:

 RewriteEngine On
 RewriteCond %{QUERY_STRING} ^name=([a-z]+)&age=([0-9]+)$ [NC]
 RewriteRule ^$ [NC,R,L]

  ----- Original Message ----- 
  From: Raman Preet Jaiswal 
  Sent: Friday, February 28, 2003 12:39
  Subject: [users@httpd] Rewrite Rule Question

  I need to redirect users to a specific page when I get a request.

  This redirection is based on the parameters I get in my request.

  For example if I receive a request  then I want to redirect this to

  How can this be written in the httpd.conf file as a RewriteRule?



View raw message