Bug 4767 - Garage project websites can not use their own /icons/ folder
: Garage project websites can not use their own /icons/ folder
Status: RESOLVED FIXED
Product: maemo.org Website
Garage
: unspecified
: All Windows
: Low enhancement (vote)
: ---
Assigned To: Ferenc Szekely
: garage@maemo.org
:
:
:
:
  Show dependency tree
 
Reported: 2009-07-07 14:22 UTC by Marcell Lengyel
Modified: 2010-07-12 13:06 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Marcell Lengyel (reporter) maemo.org 2009-07-07 14:22:30 UTC
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 ?
Comment 1 Ferenc Szekely maemo.org 2010-07-12 13:06:50 UTC
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/