This repository was archived by the owner on Apr 28, 2024. It is now read-only.
This repository was archived by the owner on Apr 28, 2024. It is now read-only.
Path of "themes/*" start from webroot instead of the VirtualHost's "Alias" directory location #28
Closed
Description
Hello,
this is likely a bug in Silex: I have built and installed our master from 3ad4f03 and have it configured on one of my VirtualHosts using an "Alias" directive, here Alias /gitlist-dev/ /var/www/gitlist-dev/
. I did the same with the original version klaussilveira/gitlist but have it instead under Alias /gitlist/ /var/www/gitlist/
. Both work in principle, but from our version I see a lot of such GET requests that must of course fail:
IP - [DATETIME] "GET /themes/default/css/style.css HTTP/1.1" 404
IP - [DATETIME] "GET /themes/default/css/gitgraph.css HTTP/1.1" 404
The original version (of course) works fine:
IP - [DATETIME] "GET /gitlist/themes/default/css/style.css HTTP/1.1" 300
IP - [DATETIME] "GET /gitlist/themes/default/css/gitgraph.css HTTP/1.1" 300
We see that obviously the URL for the themes is constructed in a wrong manner in our master.
Both VirtualHosts have the identical configuration, except for the location of their directory.
Anyone has hints?