[Ubuntu Mirroring] cdicons in htaccess should use relative paths

Bug #161977 reported by David Bartley on 2007-11-11
2
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
Undecided
Unassigned
Ubuntu
Undecided
Unassigned

Bug Description

*/htaccess files for ubuntu-releases list the following:

AddIcon /cdicons/folder.png ^^DIRECTORY^^
AddIcon /cdicons/iso.png .iso
AddIcon /cdicons/jigdo.png .jigdo .template
AddIcon /cdicons/list.png .list .manifest .html MD5SUMS MD5SUMS.gpg
AddIcon /cdicons/torrent.png .torrent

With url's such as http://fr.releases.ubuntu.com/7.10/ the file icons are displayed correctly. However, with url's such as http://mirrors.gigenet.com/ubuntu/7.10/ the icons do not get displayed since http://mirrors.gigenet.com/cdicons does not exist (but http://mirrors.gigenet.com/ubuntu/cdicons does). To fix this, relative url's should be used for the icons:

AddIcon ../cdicons/folder.png ^^DIRECTORY^^
AddIcon ../cdicons/iso.png .iso
AddIcon ../cdicons/jigdo.png .jigdo .template
AddIcon ../cdicons/list.png .list .manifest .html MD5SUMS MD5SUMS.gpg
AddIcon ../cdicons/torrent.png .torrent

In the kubuntu/*/.htaccess files this needs to look like:

AddIcon ../../cdicons/folder.png ^^DIRECTORY^^
AddIcon ../../cdicons/iso.png .iso
AddIcon ../../cdicons/jigdo.png .jigdo .template
AddIcon ../../cdicons/list.png .list .manifest .html MD5SUMS MD5SUMS.gpg
AddIcon ../../cdicons/torrent.png .torrent

Steve Langasek (vorlon) wrote :

Fixed the code so that this will be done for future releases. I've refrained from going back and changing the .htaccess files for past releases, since that's an error-prone manual operation whose benefits don't seem to warrant the risk.

Changed in ubuntu-cdimage:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers