On Aug 21, 2007, at 11:58 AM, Johan Wasserman wrote:
Ok, two issues:
when I go to http://www.mydomain.com it tries to find http://
www.mydomain.com/jetspeed
when I go to http://www.mydomain.com/portal it goes to http://
www.mydomain.com/portal/portal
I want to be able to go to http://www.mydomain.com and hit http://
www.mydomain.com/portal
and when I hit http://mydomain.com/portal it must remain there, and
not add the additional /portal
I don't really want to change anything after I built and installed
using the tutorial mentioned in this thread, so if these things can
be configured before building and installing it'd be great.
The domain part of the URL (http://www.mydomain.com) is configured
outside of Jetspeed
The "/jetspeed" part is configured by you (in the tutorial)
automatically
You can change this in the tutorial by modifying the name of your
project when create your project as described here:
http://portals.apache.org/tutorials/jetspeed-2/01/genapp.html
Say if you wanted a portal with a context named "myproject"
cd \JetspeedTraining\workspace
mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
-DarchetypeArtifactId=portal-archetype
-DarchetypeVersion=2.1-dev
-DgroupId=org.apache.portals.tutorials
-DartifactId=myproject
-Dversion=1.0
You can also change these settings in a deployed system
cd webapps
mv jetspeed/ myproject/
rm jetspeed.war
cd ../conf/Catalina/localhost
mv jetspeed.xml myproject.xml
vi myproject.xml
replace
<Context path="/jetspeed" docBase="jetspeed" crossContext="true">
with
<Context path="/myproject" docBase="myproject" crossContext="true">
The "/portal" part (as in /jetspeed/portal) is currently not
configurable, although I think it could be with a few code changes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]