PageRenderTime 28ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/etc/dist.conf.php

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