kungdesign’s posterous

 
« Back to blog

Don't name a folder "Icons" in your site directory when using a Linux server

I have been developing web sites for awhile now and I came across a new, to me, Gotcha.
 
I was simply adding some social networking icons to the bottom of a site, I gathered the jpgs of the icons
and created a file directory called "icons" in my root folder. When I checked out my masterpiece
the icons did not show up. I instantly thought - ok I have addressed them incorrectly or made some other silly mistake.
 
Well I checked the coding all was good, still no images showing up. On a whim, and because in the back of my mind
I thought I had come across directory name issues before. I changed the name of the directory to "myicons" - tada
all was good.
 
After a little digging I found out that you can not use the directory name "icons" on a Linux server as it is a reserved directory name.
(you can I guess change that if you feel like digging into it).
 
But as a cautionary tale, and especially given the popularity of linking to social network site with icons. Don't use the directory name
"Icons".

Loading mentions Retweet
Posted by KÜNGDESIGN 

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter