LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-01-2005, 06:39 PM   #1
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Rep: Reputation: 15
Banner ads help


Basically I want to make a small banner ad (like a stock ticker) on top of every visited site on my intranet. I don't care if it's with a proxy or something else. Basically I now own and control an extensive wifi network but the running costs are expensive so I need that banner ad to put some sponsers up there on every visited site to help pay the bills. And I know people will elude that but only a very small percentage even know how

Anybody that knows how to do anything like this please help.
I'm open to other advirtising idea's also.
The main browser used will be ofcoarse IE.

Thanks for any help!
 
Old 04-09-2005, 09:23 AM   #2
startail
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
You can use Apache with "mod_Layout" and "AddOutputFilter" to do this (if you run Apache 2.0.26 or newer that is).

mod_layout: http://tangent.org/index.pl?lastnode_id=478&node_id=362
AddOutputFilter: http://httpd.apache.org/docs-2.0/mod...ddoutputfilter

Something like this:

Where you tell Apache DocumentRoot and other configs for the website you add a Include to the configure.
Code:
DocumentRoot /web/website
....
Include "/web/ads.conf"
ads.conf
Code:
AddOutputFilter LAYOUT html php htm
LayoutFooter "/web/ads.html"
then you put the things you need to show in ads.html.
 
Old 04-09-2005, 10:59 AM   #3
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Original Poster
Rep: Reputation: 15
From what i understand this won't effect all websites being passed through my server, does it?
 
Old 04-09-2005, 11:15 AM   #4
startail
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
If you use vhosts in apache you will need to add the Include line on all pages that you need to use this on.

So if you only want to use it with your own server webpage for example you just need to add it to that vhost.

Did that answer your question?
 
Old 04-09-2005, 12:34 PM   #5
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Original Poster
Rep: Reputation: 15
Yes, so it doesn't look like it'll work out because I want all webpages to have the ad added to. Unless there is a command to set to all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LQ Banner bongenheimer LQ Suggestions & Feedback 12 10-31-2005 11:14 AM
Microsoft product banner ads on LQ? leecason LQ Suggestions & Feedback 5 05-23-2005 09:01 AM
IBM ads vs. the Intel ads on TV vharishankar General 1 03-16-2005 05:47 AM
MS Banner Ad on LQ?!?!?! fragglehorn LQ Suggestions & Feedback 12 11-06-2002 12:26 AM
Banner Ads Dr_G LQ Suggestions & Feedback 6 02-15-2002 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration