forced ads for the admin

Discussion in 'Feature Requests' started by grandpagenocide, Mar 2, 2008.

  1. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    A great feature for free hosts would be an option for forced ads. Has anyone writen a module for ISPconfig with this ability?
     
  2. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer

  3. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

  4. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer

    apache2.conf syntax

    Oh nice, I don't mess with apache config much...however a few questions.

    I don't want ads on regular domains (http://www.domain.com)

    I just want them on the user's web (http://www.domain.com/~user)

    This tutorial will not place ads on the regular domain webs right?

    I wouldn't have to change:

    <Directory /var/www/*/web>

    in the apache2.conf?

    That makes sense using the .htaccess file. I just want to make sure that for example:

    /var/www/web1/web does not have ads and

    /var/www/web1/users/username/web does have ads

    Thanks GP
     
  5. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    Kextra

    edit this section of apache conf
    <Directory /var/www/*/user/*/web>

    instead of this one
    <Directory /var/www/*/web>


    and it will make the ads appear under the user webs instead :)
     
  6. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer

    problem

    Parse error: syntax error, unexpected T_STRING in /var/www/web1/user/auamoti/web/index.html on line 1

    is what i get...can you post me an example of your footer.php please?
     
  7. grandpagenocide

    grandpagenocide ISPConfig Developer ISPConfig Developer

    kextra this is what i have in my footer -- add goes in body


    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>


    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">


    <title>inc_footer</title>
    </head>


    <body>


    </body>
    </html>
     

Share This Page