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!!
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
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
This is more a note for myself than anything else ...By default a lot of php scripts will send emails that appear as coming from the Apache user, which makes tracking down a rogue script really annoying and time-consuming.You end up with entries in the mail logs similar to this one:Apr 27 18:22:29 servername postfix/qmgr: 0F53421C1FA: … [Read more...] about Logging Email From PHP Scripts