Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7692791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:56:02+00:00 2026-05-31T20:56:02+00:00

We are developing web shops that are based on a lot of images. On

  • 0

We are developing web shops that are based on a lot of images.

On our local test system we do not have those images for performance reasons.

No when I open a webpage, logs and firebug are cluttered by a lot of 404 errors.

How can I configure Apache to just deliver a dummy image for cases where the image does not exist?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:56:04+00:00Added an answer on May 31, 2026 at 8:56 pm

    You can define a error document (more in the manual):

    ErrorDocument 404 /error404.php
    

    From your error404.php you can use getenv(“REQUEST_URI”) to get the name of the requested page. If it’s a image you push out your dummy image. Otherwise you show your normal error page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing on my local machine using the built in web server that ships
I'm developing a web application that shows some controls and descriptions dynamically (I don't
I've been developing Web applications for a while now and have dipped my toe
I've been developing web applications for 2 years now, and have been into simpler
I'm developing web app that user can save his/her work to server. The data
I am developing web with wordpress and have a problem with it's submenu. The
The web application that I am developing right now has something called quiz engine
I have a question, I am developing a web page and I communicate with
I'm developing a Grails web application (mainly as a learning exercise). I have previously
We're developing a data heavy modular web application stack with java but have little

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.