I myself use this method to open up the SSH port for a particular IP
address. When you try to open a particular URL on my website,
you get a 404
because that document doesn't exist. The webserver logs this.
A script in
the background sees in the log that this happened, and opens
up port 22 to
the IP address which requested the non-existant URL.