Reply to Re: rewriterule + image name

Your name:

Reply:


Posted by Rik Wasmus on 12/06/07 19:15

On Thu, 06 Dec 2007 18:10:07 +0100, JackpipE <pipe.jack@gmail.com> wrote:
> I need to rename a generic image to the name of the product that's
> being viewed on the page:
>
> /theme/images/fullProfile.gif to -> /theme/images/
> productxxx.jpg
>
> The productxxx.jpg image doesn't physically exist so I just need to
> rename the generic one and still display the same image under
> different name.

It think you mean the reverse?
If a request for /theme/images/productxxx.jpg comes in, and doesn't exist,
serve fullProfile.gif?

Highly offtopic here, ask in for instance alt.apache.configuration (or one
of the many forums almost dedicated to mod_rewrite), or look at the manual
for RewriteCond and the -f switch.
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация