Re: rewriterule + image name



On Dec 6, 2:15 pm, "Rik Wasmus" <luiheidsgoe...@xxxxxxxxxxx> wrote:
On Thu, 06 Dec 2007 18:10:07 +0100, JackpipE <pipe.j...@xxxxxxxxx> 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

..htaccess ErrorDocument as a php file that generates the missing image
by copying or using GD library.
.



Relevant Pages

  • Re: Logfile name
    ... PPF translate specified PPF logical name to file specification ... If it is a record oriented device, ... of using the rsa returned by $display, ... name will be correct if the file was renamed using the RENAME ...
    (comp.os.vms)
  • Question about importing Exchange 5.5 address book into Exchange 2003
    ... I've got as far as exporting the list from 5.5 to a CSV file and moved this ... need to rename some of the fields so they're in AD format. ... GAL with their smtp email address and display name. ...
    (microsoft.public.exchange.admin)
  • ListView and File renaming
    ... I have a listview box where I display my desired files. ... the desired file to be renamed and I rename it with a new name. ... The problem is that when, if I rename the last file entry, ...
    (microsoft.public.dotnet.languages.csharp)
  • ListView and File movement
    ... I have a listview box where I display my desired files. ... the desired file to be renamed and I rename it with a new name. ... The problem is that when, if I rename the last file entry, ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Upgrade from Exchange 5.5
    ... It indicates that you can change the org name as you upgrade (essentially ... And here is the article on the invalid characters in Exchange 5.5 ... It indicates changing the display name in Exchange 5.5 ... > Suggestion is to rename our domain; ...
    (microsoft.public.exchange2000.active.directory.integration)

Loading