LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Banner ads help (https://www.linuxquestions.org/questions/fedora-35/banner-ads-help-308782/)

antidelldude 04-01-2005 06:39 PM

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!

startail 04-09-2005 09:23 AM

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.

antidelldude 04-09-2005 10:59 AM

From what i understand this won't effect all websites being passed through my server, does it?

startail 04-09-2005 11:15 AM

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?

antidelldude 04-09-2005 12:34 PM

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.


All times are GMT -5. The time now is 04:57 PM.