Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DirectoryIndex no longer found without using trailing slash

Discussion in 'EasyApache' started by ottdev, Jul 9, 2018.

  1. ottdev

    ottdev Well-Known Member

    Oct 1, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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:
    Mailman Archives Broken after Update

    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 ?
    #1 ottdev, Jul 9, 2018
    Last edited by a moderator: Jul 9, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Nov 14, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    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
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice