PageRenderTime 40ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/etc/dist.conf.php

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