maemo.org Bugzilla – Bug 4767
Garage project websites can not use their own /icons/ folder
Last modified: 2010-07-12 13:06:50 UTC
You need to log in before you can comment on or make changes to this bug.
Steps to reproduce the problem: - Create a /www/icons/ folder in a garage projects's SVN and upload some content there (for example a file called next.png) - Check the file using https://garage.maemo.org/plugins/scmsvn/viewcvs.php/www/icons/?root=<projectname> and verify that the file exists. - Try to access http://<projectname>/garage.maemo.org/icons/next.png The last steps returns 404 The reason is that in /etc/apache2/apache2.conf the /icons/ is an alias to /usr/share/apache2/icons/ (/error/ is an other one) and it always overrides the user's own /icons/ path. The enhancement request part: is it possible to configure apache or gforge somehow to leave alone /icons/ for *.garage.maemo.org where * != www ?
I could not figure out a solution which would distinguish between the apache icons and the projects' icons folder. So instead I disabled the apache icons alias, since we don't use it. Now the projects can have their own icons folder. See my test: http://test7.garage.maemo.org/icons/