Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th April 2007, 16:12
Hotwire Hotwire is offline
Junior Member
Join Date: Sep 2006
Location: Petawawa Ontario Canada
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Hotwire
Default Top Of the Page Advertising?

Is it possibel to have a script setup that will display a full width banner across the top of a customers webpage. I would like to impliment this feature for select hosting plans, mainly the free, and affiliate plans I offer.
Reply With Quote
Sponsored Links
Old 13th April 2007, 16:11
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

I'm not sure, but maybe you can pipe the pages through some kind of proxy and then add your ads.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 13th April 2007, 17:35
jnsc jnsc is offline
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts

I once saw an apache module who was doing this, but this was more than 5 years ago, and I don't recall the name.
Reply With Quote
Old 13th April 2007, 18:04
edge edge is offline
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts

I tested this some time ago with Apache's mod_rewrite.

Not sure if this is the code I used (I can not access my test server at the momen)

<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase / 
RewriteCond %{REQUEST_FILENAME}!add.php 
RewriteRule ^(.*) /add.php 
You will need to code "add.php" to handle the banners.
Never execute code written on a Friday or a Monday.
Reply With Quote
The Following User Says Thank You to edge For This Useful Post:
createch (25th April 2011)
Old 4th April 2011, 15:37
fisherofer fisherofer is offline
Senior Member
Join Date: Sep 2009
Posts: 135
Thanks: 0
Thanked 4 Times in 4 Posts

Please check the code
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Default Holding Page mphayesuk General 13 7th July 2007 17:25
not seeing shared IP page andyreynolds Installation/Configuration 2 22nd February 2007 00:24
The page cannot be displayed on Port: 81 nysprite Installation/Configuration 1 21st June 2006 12:42
Frequent blank page when first opening site? minezamac Installation/Configuration 3 1st May 2006 20:55
Accessing the ISPConfig Web Page nformosa Installation/Configuration 1 9th September 2005 15:13

All times are GMT +2. The time now is 10:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.