PageRenderTime 50ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/etc/test.conf.php

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