Um.. it would take a great coincidence for my code to work on your machine, as "web123" has to substituted by the directory name of the web for which you want to pull the trigger. Maybe I dhould have made it clearer...
So instead of "web123" have a look at how the directory is named on your machine. You may be able to even use the link "www.yourdomain.tld" pointing to the web's directory. "ls -l /var/www" should provide you with more information (although I'm not sure the path is the same on other distributions as I am using Debian Etch).