-
Notifications
You must be signed in to change notification settings - Fork 8
/
server.properties
608 lines (509 loc) · 27 KB
/
server.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
###########################################################################
#
# This is the E2 server's base configuration file
#
###########################################################################
##########################################################################
# Object Store
objectStoreProperties=rxconfig/Server/objectstore.properties
###########################################################################
# Log
# this is where we're going to log (FILE or DBMS)
logTo=DBMS
# For FILE logging, the URL to log to
logUrl=file:log.xml
###########################################################################
# Request Listener
# the local IP addresses to bind to using the format:
# ip-address-1;ip-address-2;...;ip-address-n
# such as:
# 123.456.789.012;123.456.789.013
#
# default binding is to the first physical address located
# and loopback (127.0.0.1)
bindAddress=
# the local port number to bind. all incoming requests must go through
# this port number. 9992 is used as the default port number.
bindPort=9992
###########################################################################
# Thread Pool
# the minimum number of user threads we should have active at any time
# default = 10
userThreadMin=5
# the maximum number of user threads we can have active at any time
# use 0 to signify unlimited
# default = 0
userThreadMax=0
# the amount of time (in minutes) a thread may be idle for before
# shutting it down. Use 0 to signify no timeout
# default = 0
userThreadTimeout=1
###########################################################################
# Request Queue
# the maximum number of requests which may be placed in the queue
# 0 = disable the request queue
# -1 = unlimited queueing
requestQueueDepthMax=50
# the maximum amount of time to spend servicing a request, in seconds
#
# the request time limit can also be set on an application basis.
# Unlike threads and the request queue, the application may exceed the
# value specified on the server.
requestTimeMax=60
###########################################################################
# Console line width
# default to 110
consoleColumns=110
###########################################################################
# Server and application root
# set this property to 'true' (any form of true with any case) to make request
# URL's case sensitive (server and application roots only). remove this
# property or set it to anything else but 'true' to make requests case
# insensitive.
caseSensitiveUrl=true
###########################################################################
# Communities Enabled Property
# set the initial value for this property as 'yes', that means communities
# are enabled by default. During the installation User will be provided with
# a community selection panel immediately after product selection panels.
# Depending on the user input the property will be reset.
communities_enabled=no
###########################################################################
# require unique field and fieldset names
# Set this property to 'true' (any form of true with any case) to require
# all field and fieldset names in an content editor to be unique. This includes
# any fields or fieldsets included from shared groups. If required, then an
# application that violates this rule will fail to start. Remove this property
# or set it to anything else but 'true' to allow such an application to start,
# with a warning written to the console and the log. Only disable this feature
# to temporarily provide backwards compatiblity to deployed applications, as
# subtle problems may occur with this feature disabled.
requireUniqueFieldNames=true
# This setting disables the use of the IIS plugin related native shared memory
# classes, which are almost never used and have been traced to cause a server failure
# while starting and stopping two servers running on the same machine at the same time.
# Refer to bug id: Rx-03-01-0050
forceSockets=true
###############################################################################
# Set this property to 'true' to allow character encodings to be modified in
# XSL stylesheets prior to transformation so they match the character output
# encoding as set in the workbench. This will modify the <xsl:output> encoding
# attribute and the charset of any content-type meta tag.
#
allowXslEncodingMods=true
###########################################################################
# Response close delay
#
# The response close delay in milliseconds, can be set by using
# server property "responseCloseDelay". Defaults to 10 milliseconds,
# and can never be less then 10 milliseconds. This helps deal with network
# latency issues and Microsoft's Internet Explorer. This has typically seen
# as Page Expired or Server Error 500 when adding a child item in a CE.
# Increasing the delay will help to mitigate the latency issue.
responseCloseDelay=10
###########################################################################
# Set this property to 'true' to restrict search results to user's logged
# in community
#restrictUserSearchToCommunityContent=false
###########################################################################
# Set the cache behavior for caching the catalogged searchable fields
# which is used in the Search Dialog box. The possible values are:
#
# CachePerJVM - The cache will be persist for all applet instances, hence
# switching community or different HTML tab will not cause
# cache reload.
# This is the default behavior if the property is not defined.
#
# CachePerApplet - The cache will be (lazily) reloaded per applet instance,
#
# None - Not to cache the searchable fields. This may be used when
# the client has insufficient RAM.
#
# The applet behavior between InternetExplorer, FireFox and Netscape browsers
#
# InternetExplorer - There is one JVM per IE instance. A child IE window shares the same JVM with its parent.
# Switch community or another HTML tab then back to the "Content" tab will re-use the same
# CX applet instance. However, bring up the search dialog box in Active Assembly will create
# a new CX applet instance.
#
# FireFox - There is one JVM within a Windows OS. All FireFox instances share the same JVM.
# Switch community or another HTML tab then back to the "Content" tab will create new CX applet
# instance.
#
# Netscape - There is one JVM within a Windows OS. All Netscape instances share the same JVM.
#
#CacheSearchableFieldsInApplet=CachePerJVM
################################################################################
# Define a set of estimate table statistics:
# (table-name,number-of-row) pairs with ; (semicolon) delimiter.
# Defaults to both RXPUBDOCS table with 1000000 rows.
#
# This is used for the XML application to get estimate statistics for
# huge tables where it may take a long time to get the table's indices and
# statistics with the JDBC API (java.sql.DatabaseMetaData.getIndexInfo(...)).
#
# This property has no effect if "enableEstimateStatistics=true" or "enableEstimateStatistics" is not defined
#estimateStatistics=RXPUBDOCS,1000000;
####################################################################################
# enableEstimateStatistics is set to "true" by default. If it is set to true, it will
# not attempt to get the actual statistics for all tables and views.
# This behavior can be turned off if the property is set to "false".
#enableEstimateStatistics=true
###############################################################################
# Determines whether or not the Browse Content Dialog will be displayed when
# adding an inline link, inline image, inline template, or when adding
# slot content in the table editor. If set to 'false' the legacy search dialog
# will be used, if 'true' the Browse Content Dialog will display.
inlineSearchUsesContentBrowser=true
###############################################################################
# The absolution location for archived publishing log files.
# If this is not specified, it is default to
# "AppServer/server/rx/deploy/publogs.war/", which is relative to the
# Rhythmyx installed directory.
#
pubLogArchiveLocation=
#################################################################################
# Default Active Assembly mode:
#
# 0 = Show Icons and Borders
# 1 = No Icons and Borders displayed
#
defaultActiveAssemblyMode=1
#################################################################################
# This property controls what page the PSActionPanelServlet dispatches to. This
# is used by workflow notification and the Copy URL action in CX.
#
# The following values are supported (case-insensitive):
# actionPanel - will dispatch to the AP page, adding site and folder ids
# activeAssembly - will dispatch to the AA page, adding site, folder and
# variant ids
#
# If not present or no value is specified, actionPanel is assumed.
#
notificationUrlTarget=activeAssembly
###############################################################################
# Setting this property to true will indicate that "true" inline template
# support is desired. In this mode inline templates are nolonger wrapped in
# the special div tags and the special attributes are added to the root element
# of the template. If the template is to be inline instead of block then the
# root element must be a span tag.
allowTrueInlineTemplates=false
###########################################################################
# Set this property to provide the default behavior for the Include site
# in the link check box in the Browse Search dialog template panel and search panel.
# Any value other than true is treated as false.
#slotContentIncludeSiteDefaultValue=false
###########################################################################
# Set this property to provide the default behavior for the Include folder
# in the link check box in the Browse Search dialog template panel and search panel.
# Any value other than true is treated as false.
#slotContentIncludeFolderDefaultValue=false
###############################################################################
# Setting this property to true will turn on item validation for public items
# (items in the public workflow state) during workflow transition. By default
# this property is disabled.
#allowItemValidationOnPublicItems=false
###############################################################################
# Setting this property to true will force folder security to override assignee
# and admin workflow permissions. If an item is not in a single folder that has
# write access for the assignee/admin then the assignee/admin will not be able
# to edit or workflow the item. By default, this property is disabled if not
# specified. However, it is enabled for new installed server.
folderSecurityOverridesWorkflowSecurity=true
###############################################################################
# This property is the threshold of when to push item cross site link updates
# into the queue for asynchronous processing. 50 is the default.
#crossSiteLinkQueueThreshold=50
###############################################################################
# This property enables or disables the asynchronous queue-ing of touching
# public items by default its enabled.
#enableTouchQueue=true
###############################################################################
# This property is the threshold of when to stop unpublishing optimization.
# 1000 is the default.
#unpublishMaxThreshold=1000
###############################################################################
# The content list results are split based on chunk size for memory reasons.
# -1 indicates no splitting. The default is 1000.
#contentListChunkSize=1000
###############################################################################
# The maximum catalog and import page. Default to 0 if not specified.
# -1 indicates no limit.
catalogPageMax=-1
importPageMax=-1
###############################################################################
# Set import timeout per connection, in seconds.
# Default to 30
importTimeOut=30
###############################################################################
# Determines if the assignment type (of the workf-low) calculation
# should be filtered by the community roles.
# This feature is enabled if the value of this property is "true";
# otherwise it is disabled. Default to "true" if not specified.
#
# Note, this filtering feature is not enabled for users with "Admin" role of the item's workflow.
#
assignmentTypeCalculationFilterCommunityRoles=false
###############################################################################
# Define a list of accessibility roles. If a user is in one of the roles, then
# the user can only have access to the accessibility enabled pages in CM1 UI.
#
# Note, if the property is not specified (or empty), then all user can all
# pages (based on the permission of the user).
#
#accessibilityRoles=PercAccessibilityRole
###############################################################################
# Cloud license server url, this url will provide the module licenses and also
# used for verification of module licenses.
#
CLOUD_LICENSES_URL=https://licensing.percussion.com
###############################################################################
# Makes the widget builder active for the instance.
#
isWidgetBuilderActive=true
###############################################################################
#If this property is set to true, then it will process all the image src and
#anchor hrefs, if they are local links then makes them managed links
#Setting this property to true will process all the links.
AUTO_MANAGE_LOCAL_PATHS=true
###############################################################################
#If set to true stack trace of error will be returned with rest call. This is disabled
#by default for security.
sendErrorStackToClient=false
###############################################################################
#If set to true internal templates can set $sys.metadata hashmap to send metadata
#to the DTS metadata service. This includes the file and image widget asset.
#by default for security.
publishNonPageMetadata=true
###############################################################################
# By default requests to the server can only come from the same host. This
# breaks attempts to test rest calls with rest test tools and browser plugins.
disableCrossSiteRequestForgeryCheck=false
###############################################################################
# How long before user notified that their session will timeout
clientSessionWarning=5
###############################################################################
# Forces all http requests that aren't from the local host to become https requests.
#
requireHTTPS=false
###############################################################################
# Enable legacy XML Assembler Cache only assembles XML Application page templates not velocity
useXMLAssemblerCache=false
###############################################################################
# Configures the width of thumbnail images. Dimensions are calculated in
# ImageAssetInputTranslation
imageThumbnailWidth=50
###################################################################################
# Will require strict transport (https) and add the header for supported browsers
##################################################################################
requireStrictTransportSecurity=false
###############################################################################
# Sets the Strict-Transport-Security max-age parameter
stricttransportsecuritymaxage=300
######################################################################
# When enabled, content policy headers will be added to all requests
######################################################################
requireContentSecurityPolicy=true
###############################################################################
# Sets the Content-Security-Policy HTTP response header
contentSecurityPolicy=default-src * data: http: https: *.percussion.com *.percussion.marketing *.percussion.services blob:;object-src * 'self' data\: blob\: http\: https\: 'unsafe-inline' 'unsafe-eval'; img-src * 'self' data: blob: http: https: 'unsafe-inline' 'unsafe-eval'; font-src * 'unsafe-inline' 'unsafe-eval' data: blob:; script-src * 'unsafe-inline' 'unsafe-eval' *.siteimprove.net data: blob:; style-src * 'unsafe-inline' 'unsafe-eval' data: blob:; frame-src * 'self' data: blob: https: http: *.percussion.com *.percussion.marketing *.percussion.services 'unsafe-inline' 'unsafe-eval'; frame-ancestors * 'self' ;
install
#################################################################
# When enabled adds the XFrameOptions header to prevent external
# hosts from framing server urls
#################################################################
requireXFrameOptions=false
#################################################
# Specifies the allowed frame origins
#################################################
xFrameOptions=SAMEORIGIN
#####################################################################
# Indicates that the XSS protection headers are added to all requests
#####################################################################
requireXXSSProtection=true
##############################################################
# Indicates the value of the XXSS protection headers
#############################################################
xXSSProtection=1; mode=block
##########################################################################
# When true, the XContentType options header will be added to all requests
##########################################################################
requireXContentTypeOptions=true
#####################################################################
# Specifies the value of the XContent Type options header
####################################################################
xContentTypeOptions=nosniff
######################################################
# cacheControlRequired
#####################################################
cacheControlRequired=true
######################################################
# Cache control header
#####################################################
cacheControl=no-cache\='Set-Cookie, Set-Cookie2',must-revalidate
######################################################
# Auto tune cache max percentage of memory used for cache
#####################################################
autotuneCachePercentage=60
###################################################
# Enabled TLS Ciphers
##################################################
enabledCiphers=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384
#################################################################
# Sets the value of the public host name to use when generating links to
# content in the CMS. If using a proxy in front of the CMS, this should
# be the host name of the proxy. If using content security policy,
# this host name should be added to the CSP.
#################################################################
publicCmsHostname=
requestBehindProxy=false
proxyScheme=http
proxyPort=9992
#################################################################
# When true, will load all content of assets in one go
# When false, will load content as per the pagination rule.
#################################################################
enablePagination=false
#################################################################
# When true, the audit logging feature will be enabled, and
# system events instrumented for logging will be logged.
# Set to false to disable audit logging
#################################################################
enableAuditLogging=true
#################################################################
# The location of the Audit Log configuration file
#################################################################
auditLogConfigurationFile=perc-auditlog.properties
#################################################################
# when true will check the checksum of
# remote S3 bucket objects and compare with the checksum of the file being published.
# If they are the same then the delivery handler should skip the upload as there is no change.
# This should have a dramatic impact on publishing jobs to S3
#################################################################
optimizePublishWithChecksum=false
#################################################################
# The property to define the broken link logic on publishing managed links
# is configurable based on this property. It can have anyone of the following 3 options.
#
# brokenManagedLinkBehavior=
#
# 1) deadLink - Broken links will be replaced by #
# 2) removeLink - Broken links will be removed completely
# 3) leaveLink - Link will be left broken
#################################################################
brokenManagedLinkBehavior=deadLink
#################################################################
# The property to define Maximum no of users that can login in CMS at the same time.
#
# 0 - unlimited
#################################################################
maxUsersAllowed=0
#################################################################
# The property to disable the Debug Tools (jsp)
#
# false = disabled
#################################################################
enableDebugTools=false
###############################################################################
#loginAutoComplete=on Allows the browser to still offer to save the password
#loginAutoComplete=off Forces the browser to not prompt to save the password
###############################################################################
loginAutoComplete=off
#################################################################
# The property to control SameSite setting for the session cookie
#
# None, Strict, or Lax - if set to None https must be enabled
#################################################################
sameSiteCookieMode=Lax
###########################################################################
# allowedOrigins
# The property to control the access control allowed origin
# header
#
# Defaults to *.
# In order to more securely configure the CMS.
# Set to a comma seperated list of valid hostnames for the CMS.
# example: https://cms.percussion.marketing, https://webeditor.my.edu, https://percussion.my.gov
##############################################################################
allowedOrigins=*
###########################################################################
# allowedMethods
# The property to control the HTTP methods that are allowed for CORS requests.
# Defaults to GET,POST,OPTIONS,HEAD,PUT,DELETE,PATCH
##############################################################################
allowedMethods=GET,POST,OPTIONS,HEAD,PUT,DELETE,PATCH
###########################################################################
#allowedHeaders
# The list of HTTP headers that are allowed on CORS requests
# Defaults to:
# Content-Type, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Authorization, X-Requested-With, X-UA-Compatible, OWASP-CSRFTOKEN,User-Agent
##############################################################################
allowedHeaders=Content-Type, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Authorization, X-Requested-With, X-UA-Compatible, OWASP-CSRFTOKEN,User-Agent
##############################################################################
#allowCredentials
# This must be set to false when allowedOrigins is set to *, so is set to false by default.
# When configuring an explicit list of allowedOrigins this should be set to true.
##############################################################################
allowCredentials=false
##############################################################################
#secureKeyRotationTime
# This is in trial phase. If value is 0, then rotation of key will not happen.
# If value is greater than 0, then rotation will happen after specified no of days.
# This must be set to no of DAYS when SecureKey needs to be rotated after Number of DAYS.
# eg 90, incase rotation needs to happen after 90 days, 0 in case rotation needs to happen as soon as jetty starts.
# Default is 0 for now as it is in Trial Phase
##############################################################################
secureKeyRotationTime=0
##############################################################################
# noCacheTemplates
# Explicity turn of caching of none, all or some templates. Note that it is up to the
# template engine implementation to read this property.
#
# Valid values are:
# blank/missing - all templates will be cached.
# * - no templates will be cached.
# template1,template2 - A comma seperated list of template names that should never be cached.
##############################################################################
noCacheTemplates=
###################################################
# Sets the default buffer size in bytes that the
# server will use when copying files during publishing.
# Defaults to 1M
###################################################
fileCopyBufferSize=10448576
###################################################
# Sets the Summary Item query size to limit the summary cache
# Defaults to 10000
# to make it unlimited, can set value to -1
###################################################
MAX_SUMMARY_CACHE_SIZE=10000
###################################################
# When true the system will bypass the editor
# extensions that clean HTML content on user input.
# Note that this will bypass XSS/Code injection safety
# features that the html cleaners provide.
# Defaults to false
# Set to true to disable HTML cleaning when content is saved.
###################################################
disableHTMLCleaningExtensions=false
allowLinksToOrphans=true
###################################################
# This command will be used for taking screenshot using headless browser
# @file@ will be replaced with correct location of screenshot and
# @url@ will be replaced with url of page for screenshot.
# The path to executor needs to be replaced based on the browser that needs to be used.
#
# for Chrome command will be like:-
#"C:/Program Files/Google/Chrome/Application/chrome.exe" --headless --disable-gpu --screenshot=@@file@@ @@url@@
#
# For Firefox command will be like:-
#"C:/Program Files/Mozilla Firefox/firefox.exe" -headless -screenshot @@file@@ @@url@@
#
#For Edge command will be like:-
#"C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" -headless -screenshot=@@file@@ @@url@@
#
# Example of chromium on Ubuntu linux
# /snap/bin/chromium --headless --disable-gpu --screenshot=@@file@@ @@url@@
#
###################################################
screenshotCommandLine=