Welcome to
The DFN Weekly
Safety in Numbers
- and Letters
By
Old Tom
OT Scripts
Okay, so you have a problem with your server. It happens. Can you find and fix that kind of problem all by yourself, without help? Yes? You know what you're doing. But, if you can consistently avoid that problem in the first place, you really know what you're doing.
Now, when I ask you if you really know what you're doing, you will know precisely what I'm asking.
Did you know that you can seriously screw up your unix/linux server by choosing bad file and folder names? One of our OT Scripts customers told me that he'd had a call from his server admin just this week. He had spaces in so many file and folder names - thousands of them - that the server was locked up tight. Even the server admin couldn't get to the files for half an hour or so.
Once he removed the spaces from the file and directory names, all was well. Sure, my software is designed to handle that, but that's not true of unix in general or the Apache server in particular.
You do things which seem perfectly normal - but they're deadly to your server, for one reason or another. So... what "normal" things should you avoid? That's what this article is about.
When choosing file and folder names, do not use spaces in the name. "Main page.htm" for example, is an extremely bad choice. Yes it will work, and you can handle it if you really know what you're doing. If you know all about url encoding and unix command line parsing, you already know how to make things work. But if you don't happen to be a server guru, please follow my advice!
Here is the advice: Use letters (a-zA-Z), numbers (0-9), the underscore (_), the hyphen (-), and the dot (.). Use nothing else in file names or folder names. Notice that the minus sign is safe, but the plus sign is not!
Snore and you sleep alone."
Anthony Burgess
the sponsors of the DFN Weekly yet?
Well what are you waiting for?
Check them out NOW!



