Daniel Haischt wrote:
> 
> hello,
> 
> just a view simple questions ...
> 
> why am i able to access ...
> 
> http://www.abyssworld.de/cocoon/Cocoon.xml
> http://www.abyssworld.de/portal/servlet/jetspeed
> 
> why am i not able to access ...
> 
> http://www.abyssworld.de/portal/jetspeed
> 
> server configuration follows ...
> 
> ---------------------------- server.xml --------------------------------
>          <Context path="/cocoon"
>                   docBase="webapps/cocoon"
>                   debug="0"
>                   reloadable="true" >
>          </Context>
> 
>          <Context path="/portal"
>                   docBase="webapps/portal"
>                   debug="0"
>                   reloadable="true" >
>          </Context>
> -----------------------------------------------------------------------------
> --------------------------- tomcat.conf -------------------------------
> Alias /cocoon "/usr/local/tomcat/webapps/cocoon"
> <Directory "/usr/local/tomcat/webapps/cocoon">
>      Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /cocoon /cocoon
> <Location "/cocoon/WEB-INF/">
>      AllowOverride None
>      deny from all
> </Location>
> 
> Alias /portal "/usr/local/tomcat/webapps/portal"
> Alias /content "/usr/local/tomcat/webapps/portal/content"
> <Directory "/usr/local/tomcat/webapps/portal">
>      Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /portal /portal
> <Location "/portal/WEB-INF/">
>      AllowOverride None
>      deny from all
> </Location>
> -----------------------------------------------------------------------------
> 
> my problem is that i wont include 'servlet' each time
> i would like to access the jetspeed home page.
> 
> why does this work with cocoon?

Cocoon use a virtual URL to access its conf information (settable in
cocoon.properties).

If you want a friendly Jetspeed URL, put in 
webapps/portal the following file:

index.jsp:
<jsp:forward page="servlet/jetspeed" />

You can then access Jetspeed with:

http://myhost/portal/

(If it doesn't work right away, modify to your apache conf

DirectoryIndex index.jsp <other existing filenames>
)

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to