Thanks, you where a great help.   Wish I could figure out the /jetspeed/portal 
bit tho, it's irritating....

----- Original Message ----
From: David Sean Taylor <[EMAIL PROTECTED]>
To: Jetspeed Users List <jetspeed-user@portals.apache.org>
Sent: Wednesday, August 22, 2007 1:58:03 AM
Subject: Re: Stripping the tutorial


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]








       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/

Reply via email to