hiya,

one additional thought:

you don't have to copy the conten dir to both
apache's document root and to tomcat's context dir.

say your jetspeed web application goes to -> <tomcat_home>/webapps/portal
then you have to do the following steps ...

  1. copy the content dir to <tomcat_home>/webapps/portal
  2. add the following lines to tomcat.conf

  Alias /portal "<tomcat_home>/webapps/portal"
  Alias /portal/content "<tomcat_home>/webapps/portal/content"
  <Directory "<tomcat_home>/webapps/portal">
         Options Indexes FollowSymLinks
  </Directory>
  ApJServMount /portal /portal
  <Location "/portal/WEB-INF/">
         AllowOverride None
         deny from all
  </Location>

if you are using mod_jk you have to do something equivalent ...

  Alias /portal "<tomcat_home>/webapps/portal/content"
  Alias /portal/content "<tomcat_home>/webapps/portal/content"
  <Directory "<tomcat_home>/webapps/portal/content">
     Options Indexes FollowSymLinks
  </Directory>

  #
  # The following line mounts all JSP files and the /servlet/ uri to tomcat
  #
  JkMount /portal/servlet/* ajp12
  # JkMount /portal/*.jsp ajp12
  JkMount /portal/* ajp12

  #
  # The following line prohibits users from directly access WEB-INF
  #
  <Location "/portal/WEB-INF/">
     AllowOverride None
     deny from all
  </Location>

regards

daniel haischt
--

At 07:44 26.07.00 +0200, you wrote:
>hiya,
>
>At 15:12 25.07.00 -0700, you wrote:
>> > "Diethelm Guallar, Gonzalo" wrote:
>> >
>> > Hello,
>> >
>> > This is probably a newbie question...
>> >
>> > I have noticed that I had to copy the whole
>> > /content directory to both APACHE_HOME/htdocs/content
>> > and TOMCAT_HOME/webapps/root/content:
>> >
>> > * Changes to jetspeed-content.xml are only picked up
>> >   when made on TOMCAT_HOME/webapps/root/content/...
>> >
>> > * Image (GIF) files, and other formatting information
>> >   (CSS files?) are only picked up from
>> >   APACHE_HOME/htdocs/content/...
>> >
>> > What is going on here? This is certainly a misconfiguration
>> > from my part, but I'd appreciate any hints.
>>
>>Hmm.. No.  you bring up a good point.  This has to do ... I think...
>>with the way we are resolving URIs.  This will probably be fixed in
>>1.2b2.
>
>you should consider an additional problem -> i'm using mod_jk and apache
>so jetspeed will be called from http://<myhost>/<mycontext>/servlet/jetspeed
>and the content dir goes to http://<myhost>/<mycontext>/content.
>
>i would appreciate it if jetspeed could be called from 
>http://<myhost>/<mycontext>/jetspeed
>like it could be done with the cocoon status page.
>
>regards
>
>daniel haischt
>--
>
>
>
>--
>--------------------------------------------------------------
>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]



--
--------------------------------------------------------------
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