Re: need a help in htaccess - please help
- From: "persiancity" <persiancity@xxxxxxxxx>
- Date: 14 Aug 2006 07:12:46 -0700
Thanks a lot. it was useful... finaly I find that using the RewriteRule
is better. here is sample code:
RewriteEngine On
RewriteRule getpicture/([^.]+).jpeg$ getpicture.php?foid=$1 [L]
Thanks
Mehdi
Mumia W. wrote:
On 08/13/2006 01:49 PM, persiancity wrote:
Hi there
I need a help to create a .htaccess file to:
convert such urls:
http://mydomain.com/getpicture/33.jpg
to
http://mydomain.com/getpicture.php?foid=33
[...]
Perhaps something like this would work (on one line):
RedirectMatch (.*)/getpicture/([^.]+).jpg
$1/getpicture.php?foid=$2.jpg
.
- References:
- need a help in htaccess - please help
- From: persiancity
- Re: need a help in htaccess - please help
- From: Mumia W.
- need a help in htaccess - please help
- Prev by Date: Re: email attachment problem
- Next by Date: Re: cgi.php
- Previous by thread: Re: need a help in htaccess - please help
- Next by thread: email attachment problem
- Index(es):
Relevant Pages
|