You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Dalton-1, Michael" <Mi...@nasa.gov> on 2003/09/11 21:33:40 UTC
Changing directory name of "jetspeed" to "portal" ?
I am attempting to change the default name of the "jetspeed" directory to something more generic such as "portal". I am having problems using Tomcat 4.x.
In other words, I want http:// somedomainname.gov/portal/index.jsp instead of http:// somedomainname.gov/jetspeed/index.jsp
I have modified my jetspeed web.xml file as follows:
<servlet-mapping>
<servlet-name>
portal <-- or jetspeed -->
</servlet-name>
<url-pattern>
/portal/*
</url-pattern>
</servlet-mapping>
And yes, I have a "portal" directory under webapps with all the jetspeed files.
I am also using a IIS redirect and have modified the uriworkermap.properties file as follows:
/portal/*=$(default.worker)
/portal=$(default.worker)
The problem is that Tomcat only recognizes the index.jsp file in the portal directory. All, other directories (such as images, etc.) are not recognized. In other words, if you go to http:// somedomainname.gov/portal/ you get a "The page cannot be found" message.
Any suggestions?
Michael.D.Dalton@nasa.gov
Internet Business Manager
Computing Systems Services Branch
Information Technology Directorate
IT-D3-A / CIF 394B
Kennedy Space Center, FL 32899
(W) 321-861-2207 (F) 321-867-7133
Re: Changing directory name of "jetspeed" to "portal" ?
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Thursday, September 11, 2003, at 12:33 PM, Dalton-1, Michael wrote:
> I am attempting to change the default name of the "jetspeed" directory
> to something more generic such as "portal". I am having problems
> using Tomcat 4.x.
>
> In other words, I want http:// somedomainname.gov/portal/index.jsp
> instead of http:// somedomainname.gov/jetspeed/index.jsp
>
> I have modified my jetspeed web.xml file as follows:
>
> <servlet-mapping>
> <servlet-name>
> portal <-- or jetspeed -->
> </servlet-name>
> <url-pattern>
> /portal/*
> </url-pattern>
> </servlet-mapping>
>
> And yes, I have a "portal" directory under webapps with all the
> jetspeed files.
>
I've never tried to name a portal "portal"
Try another name, any other name besides "portal", such as "foo"
See if that works
If it does then we can try to figure out how to get this special case
to work (since we use "portal" in the index.jsp and web.xml to balance
turbine param parsing)
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
+01 707 529 9194