PageRenderTime 13ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/etc/test.conf.php

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