Author: taylor
Date: Tue Jan 10 17:05:18 2006
New Revision: 367859
URL: http://svn.apache.org/viewcvs?rev=367859&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-466
This issue adds two new features:
1. Production Configuration via an external configuration file
This configuration file allows administrators to change production
configuration properties
outside of the portal without moving the entire assembly directory out of
the portal
see jetspeed-production.properties and jetspeed-production.xml
2. Hard-code base URL
Allows the Base URL to be hard-coded by a system administrator
Base URLs contain the isSecure flag, server name, server port, and server
scheme.
This abstraction was necessary for wiring the entire portal's base URL via
another
mechanism than retrieving from the servlet request.
Both of these features are turned OFF by default.
To enable them, see portal-url-generation.xml
Added:
portals/jetspeed-2/trunk/src/webapp/WEB-INF/conf/jetspeed-production.properties
Added:
portals/jetspeed-2/trunk/src/webapp/WEB-INF/conf/jetspeed-production.properties
URL:
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/conf/jetspeed-production.properties?rev=367859&view=auto
==============================================================================
---
portals/jetspeed-2/trunk/src/webapp/WEB-INF/conf/jetspeed-production.properties
(added)
+++
portals/jetspeed-2/trunk/src/webapp/WEB-INF/conf/jetspeed-production.properties
Tue Jan 10 17:05:18 2006
@@ -0,0 +1,11 @@
+#
+# Properties that can be configured at runtime by system administrator
+# (example values)
+
+# Portal URL Override
+# useful for hard-coding portal URL in proxied host environments
+portal.url.scheme = http
+portal.url.name = 192.168.1.143
+portal.url.port = 8080
+portal.url.secure = false
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]