My site is written in asp.net using mono and apache under ubuntu LTS.

After debugging most of the problems out i still had problems with my icon folder icons. It was giving me the wrong or no icon. Then i notice /blah gets me my custom 404 page while /icons gets me a directory listing.

Why is /icons/* path hitting a directory instead of using my asp.net code? no other path that i know of (ATM) does that.

side note: /images/ also exist in the same directory as my icons folder. /images/ does not cause a directory listing either.

link|improve this question

50% accept rate
feedback

1 Answer

up vote 1 down vote accepted

in your httpd.conf you have something like

Alias /icons /path/to/icon/dir
link|improve this answer
And... Directory ...Options Indexes – lg. Jun 21 '10 at 12:54
it was in /etc/apache2/mods-enabled/alias.conf – acidzombie24 Jun 21 '10 at 14:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.