Closed PABourdin closed 7 years ago
PS: The RewriteRule and RewriteBase is not the issue, because I see it is working for both installations on "index.php".
Even though the issue discussed here is probably unrelated, the given answers might be relevant: https://stackoverflow.com/questions/30034105/htaccess-for-silex
I can't find any places, where our application would create the failing requests to /themes/
, so I assume this is a bug in Silex or Symfony. Any other opinions?
Someone else had a similar issue with phpmyadmin while using Symfony: https://github.com/symfony/symfony/issues/23236 Seems there was a problem in the generation of the request URLs inside the application.
A BC break with upgrading to Silex 2.x was overlooked. This has been applied in #36 The initial commit was based on my previous commit which included additional unit testing. Removed the branch (bug-28) and recreated it from the current HEAD.
@DannyvdSluijs great you found and fixed this! Seems I had looked only in src/
and not in the themes/
directory... I really appreciate the help. :-)
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 underAlias /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:The original version (of course) works fine:
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?