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