Forced ADs for users web only

Discussion in 'Tips/Tricks/Mods' started by kextra1, Nov 19, 2008.

  1. kextra1

    kextra1 ISPConfig Developer

  2. falko

    falko Super Moderator

    What exactly is the problem?
     
  3. kextra1

    kextra1 ISPConfig Developer

    Syntax

    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
     
    Last edited: Nov 20, 2008
  4. falko

    falko Super Moderator

    Ah, ok.
    Yes, modify the <Directory /var/www/*/web/users> part, not the <Directory /var/www/*/web> part.
     

Share This Page