View Full Version : Forced ADs for users web only
kextra1
19th November 2008, 02:33
I just the great article on forcing ads by webcave at:
http://www.howtoforge.com/forced-ads-on-ispconfig-with-debian-etch
I would like to use ForcedAds only on the users webspace. For instance:
http://www.domain.com/~user
After reading the article, I think i may know what to do however I don't want to mess up my apache config.
If anyone has any knowledge on how to accomplish this I'd appreciate it!
Thanks,
kextra1
falko
19th November 2008, 14:03
What exactly is the problem?
kextra1
20th November 2008, 22:43
I don't know the correct syntax for sure. Well, to be honest, I don't have many, but I do have some businesses on my ISPConfig server. I don't want to mess anything up. I've made 2 or 3 changes to my Apache config total on this server other than the changes I made during ispconfig install while reading your ISPConfig Debian Etch tutorial.
Hehe, so i guess the problem is lack of confidence in oneself.
Should I followed the tutorial above, and in the apache2.conf change:
<Directory /var/www/*/web>
<Directory /var/www/*/web/users>
well i no this is not it, but i only want to target the webs for E-mail users webs. For example:
/var/www/web1/users/username/web
I also read the htaccess article for ads
http://www.howtoforge.com/placing-forced-ads-on-websites-with-htaccess-ispconfig
but I don't want to have ads on my regular domain holders web's....and I believe both of these tutorials place ad's on all of your regular domainholders. for example:
/var/www/web1/web
which is what i do NOT want to do.
Thanks
Jake
falko
21st November 2008, 13:17
Ah, ok.
Yes, modify the <Directory /var/www/*/web/users> part, not the <Directory /var/www/*/web> part.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.