• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Case sensitive index files

kevinjansen

Basic Pleskian
Server operating system version
Alma 8
Plesk version and microupdate number
Obsidian 18.0.57
Dear,


Is there a option to change the panel.ini to prevent case sensitive index files.

We found a customer during our migrations that used Uppercase starting files like Index.htm, and that website was not working anymore.
Ofcourse you can change it for this specific customer, but we are having another few thousand domains coming, and there is a chance that there will be more strange names on index files.

I have checked to enable apache speling module, but that does not seem to affect the directory index.
So i changed the panel.ini file to:
directoryIndex = "index.php index.html index.cgi index.pl index.xhtml index.htm index.shtml Index.php Index.html Index.cgi Index.pl Index.xhtml Index.htm Index.shtml"

This will cover atleast the starting uppercase, but i know there are also like old website in the time of frontpage that created index.HTM(L) files. And i think that will also result in a not loading website.

Kind regards,

Kevin
 
What you could try is to use something like

Code:
LoadModule speling_module modules/mod_speling.so

<IfModule mod_speling.c>
  CheckSpelling On
  CheckCaseOnly On
</IfModule>

in an add-on Apache configuration file, but that will not only influence the spelling of index files, but of all other files, too. I'd not do it when you have many domains with content from different sources, because sometimes spelling is important and it is required that case is paid attention to.
 
Dear,

Thanks. I have updated indeed the panel.ini file. The speling option is indeed a bad option because some websites may use it. And we are at the start of migrating over 80k accounts to Plesk. Will modify the Panel.ini on the flow when we run against other strange index files. Thanks!
 
Back
Top