Results 1 to 4 of 4
  1. #1

    * Server-wide includes

    I run a free web host and I'm trying to find the most efficient way to do this.

    Each account needs to display our ad on their site but I want an easy way to be able to switch the ad code on the sites if adsense cancels my account (they did it with the other owner before).

    I was thinking if I could somehow create a custom sitewide server-side include that people put the include code on their webpage and it turns into the ad code. That way no one has to put the actual ad code on their site and I can manage the code without having to have people manually edit their webpages.

    Is something like this possible?

    btw: centos, cpanel server if it matters.


  2. #2
    Join Date
    Apr 2007
    Calgary, Canada
    If you're using apache, then I believe you will be interested in Mod_Layout.

  3. #3
    Join Date
    Oct 2006
    You need mod_layout or mod_substitute. offers high quality Xen OpenVZ & Windows Virtual Private Servers at affordable prices.
    99.95% Uptime | 24/7/365 Support | Unmetered bandwidth.
    Follow us:

  4. #4
    You guys are awesome; mod_substitute is exactly what I was looking for.


Similar Threads

  1. Server-Wide SSL
    By brandon272 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-26-2007, 10:00 PM
  2. Replies: 0
    Last Post: 05-05-2004, 07:52 PM
  3. Server Matrix Server Special. Includes 1000GB of Bandwidth!!!
    By YourHost in forum Dedicated Hosting Offers
    Replies: 23
    Last Post: 11-03-2003, 03:19 PM
  4. Server-wide File Access on a Shared Ensim Server
    By CodeSatori in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-14-2003, 10:52 AM
  5. How to limit server wide ASP
    By adad in forum Hosting Security and Technology
    Replies: 0
    Last Post: 11-28-2002, 04:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts