PageRenderTime 54ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/etc/test.conf.php

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