need a help in htaccess - please help
- From: "persiancity" <persiancity@xxxxxxxxx>
- Date: 13 Aug 2006 11:49:47 -0700
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
auctually I need a .htaccess that upload it to a folder like
'getpicture' or root. and then when it recieve a request to view
'getpicture/XXXX.jpg' it redirect/open this page:
'/getpicture.php?foid=XXXX'.
I am sure it's possible via 'mod_rewrite'. note that it would be enough
if it's possible to convert
http://mydomain.com/getpicture/XXXX.PHP
request to:
http://mydomain.com/getpicture.php?foid=XXXX
also.
It's urgent :(
Thanks
Mehdi
.
- Follow-Ups:
- Re: need a help in htaccess - please help
- From: Mumia W.
- Re: need a help in htaccess - please help
- Prev by Date: Re: Matching stuff in arbitrary order with regex
- Next by Date: Re: Matching stuff in arbitrary order with regex
- Previous by thread: Matching stuff in arbitrary order with regex
- Next by thread: Re: need a help in htaccess - please help
- Index(es):
Relevant Pages
|