Author: scottbw
Date: Wed Jun 29 11:43:09 2011
New Revision: 1141057
URL: http://svn.apache.org/viewvc?rev=1141057&view=rev
Log:
added documentation on virtual hosts
Modified:
incubator/wookie/site/trunk/content/wookie/docs/developer/running.mdtext
Modified:
incubator/wookie/site/trunk/content/wookie/docs/developer/running.mdtext
URL:
http://svn.apache.org/viewvc/incubator/wookie/site/trunk/content/wookie/docs/developer/running.mdtext?rev=1141057&r1=1141056&r2=1141057&view=diff
==============================================================================
--- incubator/wookie/site/trunk/content/wookie/docs/developer/running.mdtext
(original)
+++ incubator/wookie/site/trunk/content/wookie/docs/developer/running.mdtext
Wed Jun 29 11:43:09 2011
@@ -246,6 +246,17 @@ The deploy-webapp task can be used to de
## Running Wookie in a virtual host configuration
-This has been noted as an issue with the current release (see
[WOOKIE-111](https://issues.apache.org/jira/browse/WOOKIE-111)).
+To run Wookie using a virtual host configuration - for example, to run Wookie
on http://localhost:8080/wookie,
+but with the external URL http://my.wookie.org/wookie - you need to set the
following properties in widgetserver.properties or
local.widgetserver.properties:
-If anyone has any advice on resolving this issue, then please do comment on
the issue using the link above.
\ No newline at end of file
+ widget.server.scheme=http
+ widget.server.hostname=my.wookie.org
+ widget.server.port=80
+
+Note you need to set your proxy configuration separately:
+
+ widget.proxy.scheme=http
+ widget.proxy.hostname=my.wookie.org
+ widget.proxy.port=80
+
+Note that it is not currently possible to alter the servlet context name using
a virtual host (e.g. mapping http://wookie.me.org to /wookie).
\ No newline at end of file