: Forcing adverts via apache configuration file I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/
I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" but when I try to add it to the virtualHost it does nothing. I cannot see anything in the apache error log, and yes I do restart apache.
Any help would be great.
More posts by @Dunderdale272
1 Comments
Sorted by latest first Latest Oldest Best
In order to use the php_value directive you must be running PHP in Apache as a module. You also need to set AllowOverride Options and AllowOverride All, otherwise the directive will be ignored.
See How to change configuration settings.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.