Question

  Asked: Mar 5 2008   4:24 PM GMT
  Asked by: Chrissdc


Apache config question


Web, Apache, Config

I'm trying to get a rewriteCond & rewriteRule to work. I want the command to check for a file(image) and if it doesn't find it to use a default image. Not having any luck getting the command right.

example:

RewriteCond /doc/route/%{REQUEST_FILENAME} !-f
RewriteRule ^(.+) /dir/images/dir/00000000.JPG [L]

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


Start this Answer and Earn your Knowledge Points!

By clicking "Create Answer", you can write the answer to this question that can be improved upon by your peers using the Answer Wiki.

Browse more Questions and Answers on Development and SQL Server.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register