DirectoryIndex no longer found without using trailing slash
old server Apache 2.2
new server Apache 2.43, cpanel 72
domain.tld/folder (without a trailing slash) does not find the index page anymore
domain.tld/folder/ does find the page
On all other servers I've had until now, the slash wasn't necessary.
While I go off and try to find what Apache config can control this, I would like to know if it's a later version cPanel config which caused this change in behaviour - and if so, can I safely alter it or not?
I see that cPanel also ran up against this:
They opted to fix the offending URLs, rather than a backwards compatibility fix.
What did cPanel change previous that caused it to no longer work ?
-
Hi @ottdev I've been trying to test this and I have no issues getting an index page without a trailing slash when entered into the browser. Do you have an .htaccess file that could be interfering? As far as the mailman issue it looks like the URL for the archives was changed at some point so we had to change the way we called it in relation to another case CPANEL-4425 but neither is related to the issue you're experiencing - this issue was specific only to mailman 0 -
Ooopsy. We found someone either forgot to set or had removed our DirectoryIndex list from the previrtualhost config. The names of the index pages in question were not in the very sparse default list of acceptable names. 0 -
Hi @ottdev None the less, I'm really happy to see you were able to identify the source of this issue! Thank you for updating this thread as well. 0
Please sign in to leave a comment.
Comments
3 comments