Server configuration file
← Older revision
Revision as of 21:47, 1 December 2014
Line 104:
Line 104:
jetty.ssl.protocol = SSLv3
jetty.ssl.protocol = SSLv3
</source>
</source>
+
+
== Setting the context path ==
+
The <tt>orion.context.path</tt> property sets the ''context path'' that Orion runs under. The context path is the prefix that precedes Orion resource paths within the URL structure on your web server. If the property is not set, or is set to <tt>/</tt> (a single slash) or the empty string, Orion runs at the server root.
+
+
For example, the following context path:
+
<source lang="properties">
+
orion.context.path=/myide
+
</source>
+
… would cause the Orion editor page to be accessible at <tt>http://localhost:8080/myide/edit/edit.html</tt> and the Orion [[Orion/Server API/File API|file REST API]] to be at <tt>http://localhost:8080/myide/file</tt>.
== Configuring paths where users can store files ==
== Configuring paths where users can store files ==