Skip to content

Commit

Permalink
Update config files for eXist-5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agh2342 committed Jun 28, 2021
1 parent c952a8d commit b8af2a5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 0 additions & 2 deletions v5.3.0/etc/conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -748,11 +748,9 @@

<!-- NOTE: the following feature flags should likely be set in production to ensure a secure environment -->

<!--
<feature name="http://xml.org/sax/features/external-general-entities" value="false"/>
<feature name="http://xml.org/sax/features/external-parameter-entities" value="false"/>
<feature name="http://javax.xml.XMLConstants/feature/secure-processing" value="true"/>
-->

</features>

Expand Down
6 changes: 3 additions & 3 deletions v5.3.0/etc/jetty/standard.enabled-jetty-configs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jetty-requestlog.xml


### SSL and HTTPS
jetty-ssl.xml
jetty-ssl-context.xml
jetty-https.xml
#jetty-ssl.xml
#jetty-ssl-context.xml
#jetty-https.xml


### Webapp deployment
Expand Down
16 changes: 13 additions & 3 deletions v5.3.0/etc/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<!--
RpcServlet provides XML-RPC access.
-->
<!--
<servlet>
<servlet-name>org.exist.xmlrpc.RpcServlet</servlet-name>
<servlet-class>org.exist.xmlrpc.RpcServlet</servlet-class>
Expand All @@ -43,17 +44,20 @@
<param-value>true</param-value>
</init-param>
<init-param>
-->
<!--
When no user is specified in an XML-RPC request,
the guest user account will be used.
When useDefaultUser is set to false, the guest user
is prohibited from accessing the XML-RPC API.
-->
<!--
<param-name>useDefaultUser</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
-->
<!--
The Apache XML-RPC servlet does not set a charset
in the HTTP response, so the default HTTP charset
Expand All @@ -63,10 +67,12 @@
You may choose any charset supported by
java.nio.charset.Charset
-->
<!--
<param-name>charset</param-name>
<param-value>UTF-8</param-value>
</init-param>
</servlet>
-->
<!--
EXistServlet is a helper servlet that is used to ensure that
eXist is running in the background.
Expand Down Expand Up @@ -108,7 +114,7 @@
-->
<init-param>
<param-name>hidden</param-name>
<param-value>false</param-value>
<param-value>true</param-value>
</init-param>
<!--
Determines who is allowed to submit XQuery to the servlet
Expand All @@ -130,7 +136,7 @@
-->
<init-param>
<param-name>xquery-submission</param-name>
<param-value>enabled</param-value>
<param-value>authenticated</param-value>
</init-param>
<!--
Determines who is allowed to submit XUpdate to the servlet
Expand All @@ -151,7 +157,7 @@
-->
<init-param>
<param-name>xupdate-submission</param-name>
<param-value>enabled</param-value>
<param-value>disabled</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
Expand All @@ -166,13 +172,15 @@
<!--
Milton provides the WebDAV interface
-->
<!--
<servlet>
<servlet-name>milton</servlet-name>
<servlet-class>org.exist.webdav.MiltonWebDAVServlet</servlet-class>
<init-param>
<param-name>resource.factory.class</param-name>
<param-value>org.exist.webdav.ExistResourceFactory</param-value>
</init-param>
-->
<!--
Some WebDAV clients send a "Expect: 100-continue" header before
uploading body data. Servlet containers (like tomcat and jetty) handle
Expand All @@ -193,7 +201,9 @@
<param-value>com.bradmcevoy.http.DebugFilter</param-value>
</init-param>
-->
<!--
</servlet>
-->
<!--
XQueryServlet generates HTML from an XQuery file.
-->
Expand Down

0 comments on commit b8af2a5

Please # to comment.