en:ads_conf [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:ads_conf [2015/03/24 19:27] – created translator1en:ads_conf [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-The option is enabled by configuration parameter in /etc/dpi/fastdpi.conf: 
- 
-<code>ad_server=www.adserver.ru</code> 
-Here www.adserver.ru is the name or the address of the new content server. 
- 
-The list of URLs to replace is supplied as a text file. Each line of this file contains one URL (no <nowiki>http://</nowiki> prefix). 
- 
-For example: the list to replace ad content Yandex Direct and Google AdWords: 
- 
-<code> 
-pagead2.googlesyndication.com/pagead/show_ads.js 
-an.yandex.ru/system/context.js 
-</code> 
- 
-The list is converted into an internal format and placed to /var/lib/dpi. DPI platform loads it from the latest location:  
-<code> 
-cat my_ad_list.txt|url2dic my_ad_list.dic 
-mv my_ad_list.dic /var/lib/dpi/adlist.bin 
-</code>