In the wonderful world of HTTP requests web servers respond depending on what's going on. If the link or URL you put in (or click on) leads to a page that's either not there or has been deleted then the server will give a 404 error. Most sites use the standard and rather boring error page that Apache or whichever web server they're using provides. However some site … [Read more...] about Fun 404 Error Page Oregon Museum of Science & Industry
apache
Mod_Rewrite Help Needed!!
As I mentioned yesterday I switched this blog over from michele.me to michele.blog. And a BIG thanks is owed to Don and Paolo from the .blog team for helping me get that domain in the first place! The michele.me domain will be used for "other things" in the future, so I am splitting the blog away from the rest of the site. As part of the switch I've also changed the … [Read more...] about Mod_Rewrite Help Needed!!
Checking Apache’s VHost Configuration
This is more of a note for myself than anything else. When using Apache 2 it's useful to see exactly what it "thinks" it should be doing with virtual hosts. The "apachectl2" utility can check if the Apache configuration is correct syntactically, but that won't help you see what exactly it's trying to do, as in which sites it's trying to serve. However if you … [Read more...] about Checking Apache’s VHost Configuration
Working With SuPHP Permissions and Ownership
I switched one of my web servers over to use SuPHP a few weeks ago, as it's a lot more secure. However moving from mod_php to suPHP does require a small bit of tweaking of files and directories. Under mod_php you can easily end up with a lot of files and directories being owned by the Apache user, which on Debian / Ubuntu is "www-data". You'll need to change the ownership … [Read more...] about Working With SuPHP Permissions and Ownership