adapted the code for apache
Disable the ads