Tuesday 22 January 2008

A final Web Hosting Consideration

So you have registered a URL and decided where you are going to host the website. Does this mean that you are ready to start building?

Not quite. There is one more consideration to look at and that is what platform are you building and testing your website on. There are slight subtle variations which need to be considered.

The first will not apply to everyone. That is, where do scripts run? With my hosts, if I am using a .pl script then it must run from a directory called /cgi-bin. I can place a sub directory within the website and create a /cgi-bin folder within that, but any perl scripts must run within this folder.

Also, and .asp files must also reside in the home directory, not within sub-folders. Not very handy on larger sites...

So what does this matter? Well if you start writing code using these then load you website and find the code is in the wrong place, not only do you have to redistribute the code, but you have to check every page for links to these scripts.

Also, and this affects more people, some platforms are case sensitive. This means that Logo.jpg and logo.jpg are totally different files. This is quite important when writing your site! For safety, whether you are on a platform that is case sensitive or not, it is worth while always having lower case file names. Just in case...

No comments: