Skip to content

apache: ignore DirectoryIndex when rewriting

Folder requests like / are by default rewritten as /index.html, which in turn can't be found by GitLab.

In order to detect that we actually attach a reverse proxy handler instead of serving the request with Apache, we use DirectoryCheckHandler.

Otherwise we get a 404 for /index.html in GitLab when acessing / with the client.

Merge request reports