diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-06-09 17:35:48 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-06-09 17:35:48 -0700 |
commit | 69e2512750dd75fce43a21226979996c3cd7da1d (patch) | |
tree | 691dca375161583393ce32bb0869cb7449255118 /web/WEB-INF/restlet.xml | |
parent | f4c2eb2dafbca580319a9f50ef4f5dd68d658702 (diff) |
Configuration Changes
Fixing a bug in the config class and updating all templates and pages to
use the dynamicRoot and staticRoot config values to prefix URLs.
Diffstat (limited to 'web/WEB-INF/restlet.xml')
-rw-r--r-- | web/WEB-INF/restlet.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/WEB-INF/restlet.xml b/web/WEB-INF/restlet.xml new file mode 100644 index 0000000..d77fb2e --- /dev/null +++ b/web/WEB-INF/restlet.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<component xmlns="http://www.restlet.org/schemas/2.0/Component"> + <client protocol="FILE" /> + <client protocols="HTTP HTTPS" /> + <server protocols="HTTP HTTPS" /> + + <defaultHost> + <attach uripattern="/images" targetDescriptor="war:///images" /> + <attach uripattern="/scripts" targetDescriptor="war:///scripts" /> + <attach uripattern="/style.css" targetDescriptor="war:///style.css" /> + <attach uriPattern="" targetClass="com.p4square.grow.frontend.GrowFrontend" /> + </defaultHost> + + <internalRouter> + <attach uriPattern="/backend" + targetClass="com.p4square.grow.backend.GrowBackend" /> + </internalRouter> +</component> |