P
P
Paltos2017-10-17 02:58:41
Apache HTTP Server
Paltos, 2017-10-17 02:58:41

How to make case-insensitive requests for images?

In general, I made a website on Denver, everything is OK .. I uploaded it to the hosting, there was a problem when accessing the pictures .. for example, there are pictures in the folder /images/LogO.png /Button.png and so on ... If the picture is called Photo2017.jpg and contact her photo2017.jpg or vice versa, Apache will give an answer 404 type not found ... although it rolls on Denver ...
Guys, please tell me what could be the trouble and how to exclude it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Paltos, 2017-10-17
@Paltinik

Is there any program or tell me what shell script to rename all files to lowercase in one fell swoop, maybe there are ~ 2000 files, something in a small one, something in a large one, something in a mix)
or maybe there is a module for Apache?) and then if the hoster wants to install it))

D
Dimonchik, 2017-10-17
@dimonchik2013

start Windows on the server))
or make symlinks to all the uploaded files in lower case
Apache, you can probably do it too, but it's not fast anyway, it's stupid to load it with additional logic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question