logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache not loading images
Author
mb525



Joined: 13 Aug 2015
Posts: 2

PostPosted: Tue 18 Aug '15 4:07    Post subject: apache not loading images Reply with quote

Hi,

I am running in to an issue with apache 2.2.29 while loading images from folders with period, For example, if I directly go to that images location via application container ports, I can access those images, but if I go via apache, I am getting 404 errors. The images are under
/opt/Custom11/ks_custom/images/abc.dropdown/
/opt/Custom11/sg_custom/images/abc.Color

like above so many folders are with periods, and none of the images are getting loaded from that locations..

So, I am looking for the syntax that I can mention in httpd.conf.

I have this already in my configuration, but it's not helping.

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|pdf)$ no-gzip dont-vary


Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 19 Aug '15 15:36    Post subject: Reply with quote

Quote:

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|pdf)$ no-gzip dont-vary
is only for mod deflate

You may look into the error log and or access log to see which path is accessed.
Back to top
mb525



Joined: 13 Aug 2015
Posts: 2

PostPosted: Sat 22 Aug '15 14:27    Post subject: Reply with quote

It actually worked when I used the directory match specifically in the apache configuration.


Thanks.
Back to top


Reply to topic   Topic: apache not loading images View previous topic :: View next topic
Post new topic   Forum Index -> Apache