PageRenderTime 26ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 1ms

/etc/dist.conf.php

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