PageRenderTime 149ms CodeModel.GetById 144ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/etc/test.conf.php

https://github.com/asuper114/openx
PHP | 480 lines | 478 code | 2 blank | 0 comment | 0 complexity | 01e6f49d1cae75e94ca183cc26f0cdbb 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 OpenX
 19                                                    ; database - the test database is
 20                                                    ; 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 OpenX 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
 55showContactUsLink                   = false
 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
326
327[debug]
328logfile             =                       ; The delivery engine debugging file
329production          = false                 ; Is it production server? (do not show backtrace and error sourcecontext)
330                                            ; If it is delivery do not show any errors
331sendErrorEmails     = false                 ; Send emails containing error reports - do not work in delivery
332emailSubject        = Error from OpenX    ; Error report subject
333email               = email@example.com     ; Where to send error reports
334emailAdminThreshold = PEAR_LOG_ERR          ; Email the error to admin if threshold reached
335errorOverride       = true                  ; If true do not show notices
336showBacktrace       = false                 ; If true print backtrace
337disableSendEmails   = false                 ; If true, no email will be sent from this instance (useful for debug, testing, staging)
338
339[var]
340prefix              = OA_           ; Used to prefix some variables and used in invocation codes
341cookieTest          = ct            ; Used for the forced cookie test redirect
342cacheBuster         = cb            ; Cache buster
343channel             = source        ; Channel of the website
344dest                = oadest        ; Used to pass in a URL to redirect to after action
345logClick            = log           ; Used to indicate if a click should be logged
346n                   = n             ; Used to name a cookie containing displayed banner information
347params              = oaparams      ; Used to pass in custom delimited key=value pairs into an ad-call
348viewerId            = OAID          ; Used for passing viewer ID cookie value
349viewerGeo           = OAGEO         ; Used for storing view geo-location information in a session cookie
350campaignId          = campaignid    ; Used for passing campaign ID cookie value
351adId                = bannerid      ; Used for passing ad ID cookie value
352creativeId          = cid           ; Used for passing creative ID cookie value
353zoneId              = zoneid        ; Used for passing zone ID cookie value
354blockAd             = OABLOCK       ; Used for passing banner blocking cookie value
355capAd               = OACAP         ; Used for passing banner capping cookie value
356sessionCapAd        = OASCAP        ; Used for passing session banner capping cookie value
357blockCampaign       = OACBLOCK      ; Used for passing campaign blocking cookie value
358capCampaign         = OACCAP        ; Used for passing campaign capping cookie value
359sessionCapCampaign  = OASCCAP       ; Used for passing session campaign capping cookie value
360blockZone           = OAZBLOCK      ; Used for passing zone blocking cookie value
361capZone             = OAZCAP        ; Used for passing zone capping cookie value
362sessionCapZone      = OASZCAP       ; Used for passing session zone capping cookie value
363vars                = OAVARS        ; Used for passing variables
364trackonly           = trackonly     ; Used to avoid redirecting after a click
365openads             = openads       ; Used as identifier for the adsense click tracking comments
366lastView            = OXLIA         ; Used to track the last time an ad was viewed
367lastClick           = OXLCA         ; Used to track the last time an ad was clicked
368blockLoggingClick   = OXBLC         ; Used to log the last time an ad was clicked
369fallBack            = oxfb          ; Used to flag if this impression was from a rich-media fallback creative
370trace               = OXTR          ; Used to trigger delivery engine tracing code (if enabled)
371
372;------------------------------------------------------------------------------------------;
373; Load Balancing / Distributed Statistics                                                  ;
374;------------------------------------------------------------------------------------------;
375
376[lb]
377enabled             = false         ; Should distributed stats be enabled
378type                = mysql         ; Main database details
379host                = localhost
380port                = 3306
381username            =
382password            =
383name                =
384persistent          = false
385
386;------------------------------------------------------------------------------------------;
387; OpenX Central Settings                                                                   ;
388;------------------------------------------------------------------------------------------;
389
390[sync]
391checkForUpdates = true
392shareStack      = true
393shareData       = true
394
395[oacSync]
396protocol    = https
397host        = sync.openx.org
398path        = /xmlrpc.php
399httpPort    = 80
400httpsPort   = 443
401
402[oacXmlRpc]
403protocol    = https
404host        = oxc.openx.org
405httpPort    = 80
406httpsPort   = 443
407path        = /oxc/xmlrpc
408captcha     = /oxc/captcha
409signUpUrl   = /oxc/advertiser/signup
410publihserUrl= /oxc/advertiser/defzone
411
412[oacDashboard]
413protocol    = https
414host        = oxc.openx.org
415port        = 443
416path        = /oxc/dashboard/home
417ssoCheck    = /oxc/ssoCheck
418
419;------------------------------------------------------------------------------------------;
420; Plugins Settings                                                                         ;
421;------------------------------------------------------------------------------------------;
422
423[authentication]
424type=internal
425deleteUnverifiedUsersAfter = 2419200   ; 28 days (in seconds)
426
427[geotargeting]
428type="none"
429showUnavailable=false
430
431[pluginPaths]
432packages   = /plugins/etc/
433plugins    = /plugins/
434admin      = /www/admin/plugins/
435var        = /var/plugins/
436repo       = "../plugins_repo/release/|../etc/plugins/" ; http://your.test.server/path_to_plugins/
437
438[pluginUpdatesServer]
439protocol=http
440host=code.openx.org
441path=/openx/plugin-updates
442httpPort=80
443
444[pluginSettings]
445enableOnInstall = true
446useMergedFunctions = true
447
448[plugins]
449
450[pluginGroupComponents]
451
452;------------------------------------------------------------------------------------------;
453; Audit Settings                                                                           ;
454;------------------------------------------------------------------------------------------;
455
456[audit]
457enabled=0
458enabledForZoneLinking=false
459
460;------------------------------------------------------------------------------------------;
461; Installer Settings                                                                       ;
462;------------------------------------------------------------------------------------------;
463
464[install]
465marketPcHost        = https://pc.openx.com
466marketPcApiHost     = https://api.pc.openx.com
467fallbackPcApiHost   = http://api.pc.openx.com
468marketPublicApiUrl  = api/public/v2
469marketCaptchaUrl    = https://pc.openx.com/api/captcha
470publisherSupportEmail = publisher-support@openx.org
471
472;------------------------------------------------------------------------------------------;
473; Test configuration
474;------------------------------------------------------------------------------------------;
475
476[test]
477directories = "etc/changes|lib|lib/max|lib/OA|lib/OX|lib/util|plugins_repo|plugins|www/admin/plugins|lib/xmlrpc/php"
478urlToTracSvnBrowser = https://developer.openx.org/browser/branches/max/trunk/
479phpPath = /usr/local/bin/php
480;------------------------------------------------------------------------------------------;