Create a file named info.php.
Write the following code:
Access the information via e.g:
Subsititue your-webserver-url, with your url.
you can white list your website by adding
the following entry to the mod_security
SecRule SERVER_NAME "Mywebpage.tld" phase:1,nolog,allow,ctl:ruleEngine=off
Or if you wnat to whitelist a ip:
SecRule REMOTE_ADDR "@ipMatch XXX.YYY.ZZ.XX"
Substitute XXX.YYY.ZZ.XX with the IP
you want to white list
Within a few days since the Japanese earthquake disaster, on-line criminals are trying to exploit the tragedy. As we have seen it with the Haiti disaster (and other events) a numbers of fraudulent websites are now on-line to lure money out of people ,who wants to donate money to support the victims.
A pet-project of mine, (D.I Project) have just found in excess of 100 newly registered 'Japan aid' web domain names.
While a few may be legitimate organisations, the majority of those websites are from the same criminals, who tried to scam money out from the Haiti disaster.
As always; Those who do receive e-mails soliciting money for Japan, delete them and do support the Red cross, etc. via the official websites.