PageRenderTime 57ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/etc/test.conf.php

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