PageRenderTime 227ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 1ms

/etc/dist.conf.php

https://github.com/chandapen/revive-adserver
PHP | 427 lines | 367 code | 60 blank | 0 comment | 34 complexity | 8c7448f15eeb35ad4acc19df954fed4e MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. ;<?php exit; ?>
  2. ;*** DO NOT REMOVE THE LINE ABOVE ***
  3. ;------------------------------------------------------------------------------------------;
  4. ; General Installation Settings ;
  5. ;------------------------------------------------------------------------------------------;
  6. [openads]
  7. installed = false
  8. requireSSL = false
  9. sslPort = 443
  10. [ui]
  11. enabled = true
  12. applicationName =
  13. headerFilePath =
  14. footerFilePath =
  15. logoFilePath =
  16. headerForegroundColor =
  17. headerBackgroundColor =
  18. headerActiveTabColor =
  19. headerTextColor =
  20. gzipCompression = true
  21. combineAssets = true
  22. dashboardEnabled = true
  23. hideNavigator = false
  24. zoneLinkingStatistics = true
  25. ;------------------------------------------------------------------------------------------;
  26. ; Database Settings ;
  27. ;------------------------------------------------------------------------------------------;
  28. [database]
  29. type =
  30. host =
  31. socket =
  32. port =
  33. username =
  34. password =
  35. name =
  36. persistent = false
  37. mysql4_compatibility = false
  38. protocol = tcp
  39. compress = false
  40. ssl = false
  41. capath =
  42. ca =
  43. [databaseCharset]
  44. checkComplete = false
  45. clientCharset =
  46. [databaseMysql]
  47. statisticsSortBufferSize =
  48. [databasePgsql]
  49. schema =
  50. ;------------------------------------------------------------------------------------------;
  51. ; Delivery Path and File Name Settings ;
  52. ;------------------------------------------------------------------------------------------;
  53. [webpath]
  54. admin =
  55. delivery =
  56. deliverySSL =
  57. images =
  58. imagesSSL =
  59. [file]
  60. click = ck.php
  61. conversionvars = tv.php
  62. content = ac.php
  63. conversion = ti.php
  64. conversionjs = tjs.php
  65. flash = fl.js
  66. google = ag.php
  67. frame = afr.php
  68. image = ai.php
  69. js = ajs.php
  70. layer = al.php
  71. log = lg.php
  72. popup = apu.php
  73. view = avw.php
  74. xmlrpc = axmlrpc.php
  75. local = alocal.php
  76. frontcontroller = fc.php
  77. singlepagecall = spc.php
  78. spcjs = spcjs.php
  79. xmlrest = ax.php
  80. [store]
  81. mode =
  82. webDir =
  83. ftpHost =
  84. ftpPath =
  85. ftpUsername =
  86. ftpPassword =
  87. ftpPassive =
  88. [origin]
  89. type = "None"
  90. host =
  91. port = 80
  92. script = /www/delivery/dxmlrpc.php
  93. timeout = 10
  94. protocol = http
  95. ;------------------------------------------------------------------------------------------;
  96. ; Delivery Details ;
  97. ;------------------------------------------------------------------------------------------;
  98. [allowedBanners]
  99. sql = true
  100. web = true
  101. url = true
  102. html = true
  103. text = true
  104. video = false
  105. [delivery]
  106. cacheExpire = 1200
  107. cacheStorePlugin = deliveryCacheStore:oxCacheFile:oxCacheFile
  108. cachePath =
  109. acls = true
  110. aclsDirectSelection = true
  111. obfuscate = false
  112. execPhp = false
  113. ctDelimiter = __
  114. chDelimiter = ","
  115. keywords = false
  116. cgiForceStatusHeader = false ; Set this to true if using a CGI sapi which
  117. ; does not correctly deal with HTTP headers
  118. ; and leaves the description empty
  119. ; (i.e. "HTTP/1.1 302" insead that 302 Found)
  120. clicktracking = "No"
  121. ecpmSelectionRate = 0.9
  122. enableControlOnPureCPM = true
  123. [defaultBanner]
  124. imageUrl = ; If banner was deleted and ai.php script
  125. ; is called use this imageUrl
  126. [p3p]
  127. policies = true
  128. compactPolicy = CUR ADM OUR NOR STA NID
  129. policyLocation =
  130. ;------------------------------------------------------------------------------------------;
  131. ; User Interface Settings ;
  132. ;------------------------------------------------------------------------------------------;
  133. [graphs]
  134. ttfDirectory = ; The directory where True Type Fonts are stored
  135. ttfName = ; Name of the True Type Font to use in graphs, only
  136. ; supported in the test suite at present
  137. ;------------------------------------------------------------------------------------------;
  138. ; Statistics Logging & Maintenance Details ;
  139. ;------------------------------------------------------------------------------------------;
  140. [logging]
  141. adRequests = false
  142. adImpressions = true
  143. adClicks = true
  144. trackerImpressions = true
  145. reverseLookup = false
  146. proxyLookup = true
  147. defaultImpressionConnectionWindow =
  148. defaultClickConnectionWindow =
  149. ignoreHosts = ; Comma separated list of hosts
  150. ignoreUserAgents = ; Pipe separated list of user-agents to ignore
  151. enforceUserAgents = ; Pipe separated list of user-agents to enforce
  152. blockAdClicksWindow = 0 ; window for block clicks logging in seconds
  153. [maintenance]
  154. autoMaintenance = 1
  155. timeLimitScripts = 1800 ; Should maintenance scripts be limited to run no longer than
  156. ; this many seconds? Set to 0 for no time limit
  157. operationInterval = 60
  158. blockAdImpressions = 0 ; How many seconds must be between impressions and clicks
  159. blockAdClicks = 0 ; from the same viewer ID for them to count? Set to 0 seconds
  160. ; for all to count.
  161. channelForecasting = false
  162. pruneCompletedCampaignsSummaryData = false
  163. pruneDataTables = true
  164. ;channelForecastingDaysBack = 30 ; How many days from history should be used for forecasting
  165. ;channelForecastingDaysAhead = 7 ; If campaign expire date is empty forecast for this number of days
  166. ;channelForecastingMaxDaysAhead = 30 ; Even if campaign expire date is biger do not forecast more than
  167. ;channelForecastingMaxRunTime = 40 ; Maximum time allowed for channel forecating maintenance (in minutes)
  168. ecpmCampaignLevels = "9|8|7|6" ; Pipe delimited list of campaign priority levels to calculate
  169. ; eCPM values for in ECPMforContract
  170. [priority]
  171. instantUpdate = true
  172. defaultClickRatio = 0.005
  173. defaultConversionRatio = 0.0001
  174. randmax = 2147483647 ; This should be autogenerated in installation process by mt_getrandmax()
  175. [performanceStatistics]
  176. defaultImpressionsThreshold = 10000 ; Minimum number of impressions needed to calculate performance statistics (eCPM, CR, CTR)
  177. defaultDaysIntervalThreshold = 30 ; Minimum period of time (in days) needed to calculate performance statistics (eCPM, CR, CTR)
  178. ;------------------------------------------------------------------------------------------;
  179. ; Table Details ;
  180. ;------------------------------------------------------------------------------------------;
  181. [table]
  182. prefix =
  183. type = INNODB ; Either MyISAM, or INNODB, for MySQL ONLY
  184. ;------------------------------------------------------------------------------------------;
  185. ; Table Names ;
  186. ;------------------------------------------------------------------------------------------;
  187. account_preference_assoc = account_preference_assoc
  188. account_user_assoc = account_user_assoc
  189. account_user_permission_assoc = account_user_permission_assoc
  190. accounts = accounts
  191. acls = acls
  192. acls_channel = acls_channel
  193. ad_category_assoc = ad_category_assoc
  194. ad_zone_assoc = ad_zone_assoc
  195. affiliates = affiliates
  196. affiliates_extra = affiliates_extra
  197. agency = agency
  198. application_variable = application_variable
  199. audit = audit
  200. banners = banners
  201. campaigns = campaigns
  202. campaigns_trackers = campaigns_trackers
  203. category = category
  204. channel = channel
  205. clients = clients
  206. data_intermediate_ad = data_intermediate_ad
  207. data_intermediate_ad_connection = data_intermediate_ad_connection
  208. data_intermediate_ad_variable_value = data_intermediate_ad_variable_value
  209. data_raw_ad_click = data_raw_ad_click
  210. data_raw_ad_impression = data_raw_ad_impression
  211. data_raw_ad_request = data_raw_ad_request
  212. data_raw_tracker_impression = data_raw_tracker_impression
  213. data_raw_tracker_variable_value = data_raw_tracker_variable_value
  214. data_summary_ad_hourly = data_summary_ad_hourly
  215. data_summary_ad_zone_assoc = data_summary_ad_zone_assoc
  216. data_summary_channel_daily = data_summary_channel_daily
  217. data_summary_zone_impression_history = data_summary_zone_impression_history
  218. images = images
  219. log_maintenance_forecasting = log_maintenance_forecasting
  220. log_maintenance_priority = log_maintenance_priority
  221. log_maintenance_statistics = log_maintenance_statistics
  222. password_recovery = password_recovery
  223. placement_zone_assoc = placement_zone_assoc
  224. preferences = preferences
  225. session = session
  226. targetstats = targetstats
  227. trackers = trackers
  228. tracker_append = tracker_append
  229. userlog = userlog
  230. users = users
  231. variables = variables
  232. variable_publisher = variable_publisher
  233. zones = zones
  234. ;------------------------------------------------------------------------------------------;
  235. ; E-mail ;
  236. ;------------------------------------------------------------------------------------------;
  237. [email]
  238. logOutgoing = true
  239. headers =
  240. qmailPatch = false
  241. fromName =
  242. fromAddress =
  243. fromCompany =
  244. useManagerDetails =
  245. ;------------------------------------------------------------------------------------------;
  246. ; Debugging/Error Logging Details ;
  247. ;------------------------------------------------------------------------------------------;
  248. [log]
  249. enabled = true
  250. methodNames = false
  251. lineNumbers = false
  252. type = file
  253. name = debug.log
  254. priority = PEAR_LOG_INFO
  255. ident = OX
  256. paramsUsername =
  257. paramsPassword =
  258. fileMode = 0644
  259. [deliveryLog]
  260. enabled = false
  261. name = delivery.log
  262. fileMode = 0644
  263. priority = 6
  264. ;------------------------------------------------------------------------------------------;
  265. ; Non-configurable items for the Delivery Engine ;
  266. ;------------------------------------------------------------------------------------------;
  267. [cookie]
  268. permCookieSeconds = 31536000 ; 1 year in seconds
  269. maxCookieSize = 2048
  270. [debug]
  271. logfile = ; The delivery engine debugging file
  272. production = 1 ; Is it production server? (do not show backtrace and error sourcecontext)
  273. ; If it is delivery do not show any errors
  274. sendErrorEmails = false ; Send emails containing error reports - do not work in delivery
  275. emailSubject = Error from Revive Adserver ; Error report subject
  276. email = email@example.com ; Where to send error reports
  277. emailAdminThreshold = PEAR_LOG_ERR ; Email the error to admin if threshold reached
  278. errorOverride = true ; If true do not show notices
  279. showBacktrace = false ; If true print backtrace
  280. disableSendEmails = false ; If true, no email will be sent from this instance (useful for debug, testing, staging)
  281. [var]
  282. prefix = OA_ ; Used to prefix some variables and used in invocation codes
  283. cookieTest = ct ; Used for the forced cookie test redirect
  284. cacheBuster = cb ; Cache buster
  285. channel = source ; Channel of the website
  286. dest = oadest ; Used to pass in a URL to redirect to after action
  287. logClick = log ; Used to indicate if a click should be logged
  288. n = n ; Used to name a cookie containing displayed banner information
  289. params = oaparams ; Used to pass in custom delimited key=value pairs into an ad-call
  290. viewerId = OAID ; Used for passing viewer ID cookie value
  291. viewerGeo = OAGEO ; Used for storing view geo-location information in a session cookie
  292. campaignId = campaignid ; Used for passing campaign ID cookie value
  293. adId = bannerid ; Used for passing ad ID cookie value
  294. creativeId = cid ; Used for passing creative ID cookie value
  295. zoneId = zoneid ; Used for passing zone ID cookie value
  296. blockAd = OABLOCK ; Used for passing banner blocking cookie value
  297. capAd = OACAP ; Used for passing banner capping cookie value
  298. sessionCapAd = OASCAP ; Used for passing session banner capping cookie value
  299. blockCampaign = OACBLOCK ; Used for passing campaign blocking cookie value
  300. capCampaign = OACCAP ; Used for passing campaign capping cookie value
  301. sessionCapCampaign = OASCCAP ; Used for passing session campaign capping cookie value
  302. blockZone = OAZBLOCK ; Used for passing zone blocking cookie value
  303. capZone = OAZCAP ; Used for passing zone capping cookie value
  304. sessionCapZone = OASZCAP ; Used for passing session zone capping cookie value
  305. vars = OAVARS ; Used for passing variables
  306. trackonly = trackonly ; Used to avoid redirecting after a click
  307. openads = openads ; Used as identifier for the adsense click tracking comments
  308. lastView = OXLIA ; Used to track the last time an ad was viewed
  309. lastClick = OXLCA ; Used to track the last time an ad was clicked
  310. blockLoggingClick = OXBLC ; Used to log the last time an ad was clicked
  311. fallBack = oxfb ; Used to flag if this impression was from a rich-media fallback creative
  312. trace = OXTR ; Used to trigger delivery engine tracing code (if enabled)
  313. ;------------------------------------------------------------------------------------------;
  314. ; Load Balancing / Distributed Statistics ;
  315. ;------------------------------------------------------------------------------------------;
  316. [lb]
  317. enabled = false ; Should distributed stats be enabled
  318. type = mysql ; Main database details
  319. host = localhost
  320. port = 3306
  321. username =
  322. password =
  323. name =
  324. persistent = false
  325. ;------------------------------------------------------------------------------------------;
  326. ; Revive Aderver Sync Settings ;
  327. ;------------------------------------------------------------------------------------------;
  328. [sync]
  329. checkForUpdates = true
  330. shareStack = true
  331. [oacSync]
  332. protocol = https
  333. host = sync.revive-adserver.com
  334. path = /xmlrpc.php
  335. httpPort = 80
  336. httpsPort = 443
  337. ;------------------------------------------------------------------------------------------;
  338. ; Plugins Settings ;
  339. ;------------------------------------------------------------------------------------------;
  340. [authentication]
  341. type=internal
  342. deleteUnverifiedUsersAfter = 2419200 ; 28 days (in seconds)
  343. [geotargeting]
  344. type="none"
  345. showUnavailable=false
  346. [pluginPaths]
  347. packages = /plugins/etc/
  348. plugins = /plugins/
  349. admin = /www/admin/plugins/
  350. var = /var/plugins/
  351. [pluginUpdatesServer]
  352. protocol=http
  353. host=code.openx.org
  354. path=/openx/plugin-updates
  355. httpPort=80
  356. [pluginSettings]
  357. enableOnInstall = true
  358. useMergedFunctions = true
  359. [plugins]
  360. [pluginGroupComponents]
  361. ;------------------------------------------------------------------------------------------;
  362. ; Audit Settings ;
  363. ;------------------------------------------------------------------------------------------;
  364. [audit]
  365. enabled=1
  366. enabledForZoneLinking=false
  367. ;------------------------------------------------------------------------------------------;