PageRenderTime 108ms CodeModel.GetById 92ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

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