Just finished my first website move from IIS on Windows to Apache on Ubuntu 12.04 LTS Server. It went quite smoothly, but there was one "gotcha":
The site had a directory named 'icons' that contained a bunch of .bmp files. On the old server (IIS) a link like...
http://sitename/icons/foo.bmp
...would retrieve the file. On the new Ubuntu server (Apache) the same link produced a "File not found" error.
After checking for mismatched case and verifying that .bmp had a registered MIME type I decided to enable directory listing on the 'icons' folder, but no matter what I did Apache always gave me a "Forbidden" error.
Finally, after verifying that I could browse a folder named 'stuff' I renamed the 'icons' folder to 'icon_files' and my problems went away.
So, could someone please give me a hint as to why a folder named 'icons' is (apparently) evil? This is a straight-up 12.04 Server install with LAMP as configured by `tasksel`.
Thanks!
Bookmarks