httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hutuworm <hutuw...@gmail.com>
Subject Re: [users@httpd] Help with ReWrite...
Date Sat, 19 Jun 2004 13:14:41 GMT
RewriteRule ^/([0-9]*).gif$ /myphpscript.php?myvar=$1 [L,R]

You may want to check its manual at :
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

----- Original Message -----
From: Norman Peelman <npeelman@cfl.rr.com>
Date: Sat, 19 Jun 2004 08:45:23 -0400
Subject: [users@httpd] Help with ReWrite...
To: users@httpd.apache.org


Forgot to mention this is on WinXP/Apache2.0
  I would like to rewrite this:

www.mydomain.com/number.jpg or .gif

to

www.mydomain.com/myphpscript.php?myvar=number

ex.

www.mydomain.com/100.gif  becomes www.mydomain.com/myphpscript.php/myvar=100

This rewrite stuff is very confusing to me. If anyone knows of a good site
with examples that can be read by a human please let me know.

Thank you,

Norm



-- 
@Copyleft 200X www.hutuworm.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message