使用Apache mod_ext_filter给静态文件添加广告

Posted by eDWARD at 15:39

    配置mod_ext_filter模块

    然后定义filter的名字(advtext)和配置filter要调用程序的名字(googleads)。

    修改目录标签内的设置。

    执行输出广告的代码

    增加执行程序的权限

    要显示的广告内容保存在/var/www/html/googleads.txt里。

    然后重新启动你的Apache就可以看到添加后的效果了。

Sphere: Related Content

Filed In 学习路上 | Study | Tags: , , , |

Your Comments.

Leave your own response

Leave a Reply.

Comment Form.

Fields denoted with a "*" are required. Your comment may require moderation, please be patient.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>




Your Reply.

Use the following link to trackback from your own site:
http://www.zhangzhang.net/articles/2007/01/14/apache-mod_ext_filter/trackback/

Spread the word.

Octopus supports RSS feed for this post RSS 2.0 , and Trackbacks from other blogs.

Technorati

  品位不凡,威严,略显高深,喜爱一切美丽的事物,易怒,固执,有些利己,但关心接近他的人。谦逊,但非常有野心,有才能,刻苦,是不甚令人满意的伴侣,朋友众多,树敌也多,是可以信赖的人。


bloglines
google reader
my yahoo
订阅我的博客