Location of cocoon webapp on server

2003-02-06 Thread Anna Afonchenko



Hi all.

We have our web app under 
CATALINA_HOME/webapps/cocoon/ub

which can be accessed on the webserver by http://domain.name:8080/cocoon/ub/*

However, we want to put the ub directory under 
/home/cocoon/ub and to access it by http://domain.name/ub/* 

We can move the directory to /home/cocoon/ub, 
and therefore not under webapps/cocoonand call it by using a sub sitemap 
with the URL http://domain.name:8080/cocoon/ub/* 


But how do we lose the :8080/cocoon from the 
request URL?

We are using apache 1.1 and the latest tomcat 
and cocoon and the jk1 bridge between tomcat and apache. The system is a 
linux box.

I can modify the workers.properties file so that 
it mounts http://domain.name/ub to tomcat 
and then put a symbolic link in the tomcat web-apps directory to /home/cocoon/ub 
but this is both an ugly and not very stable solution.

Thank you very much for your help

Anna Afonchenko and Spencer 
Bruce


Re: Location of cocoon webapp on server

2003-02-06 Thread SAXESS - Hussayn Dabbous
There is a brand new wiki page on this.

You may look into it at

http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation

It is in the draft state right now, but i would be pleased, if you
comment on it.

the page misses one step that is needed for your requirements.
Howto omitt cocoon from your http request.

there is some documentation on this withion the official
cocoon docs.

in short terms:

go to tomcat conf/server.xml

add a Default Context for your app.
If you use a NEWER version of tomcat, (tomcat-4.1.16++)
you MUST take out cocoon from the default webapps directory
and put it somewherre else and define that location
within the Context. this is very brief answer.
for more detailed look into the Wiki or the cocoon docs.


regards, hussayn

Anna Afonchenko wrote:

Hi all.
 
We have our web app under CATALINA_HOME/webapps/cocoon/ub
 
which can be accessed on the webserver by 
http://domain.name:8080/cocoon/ub/*
 
However, we want to put the ub directory under /home/cocoon/ub and to 
access it by http://domain.name/ub/*
 
We can move the directory to /home/cocoon/ub, and therefore not under 
webapps/cocoon and call it by using a sub sitemap with the URL 
http://domain.name:8080/cocoon/ub/*
 
But how do we lose the :8080/cocoon from the request URL?
 
We are using apache 1.1 and the latest tomcat and cocoon and the jk1 
bridge between tomcat and apache.  The system is a linux box.
 
I can modify the workers.properties file so that it mounts 
http://domain.name/ub to tomcat and then put a symbolic link in the 
tomcat web-apps directory to /home/cocoon/ub but this is both an ugly 
and not very stable solution.
 
Thank you very much for your help
 
Anna Afonchenko and Spencer Bruce

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhofer Allee 125
50935 Koln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Location of cocoon webapp on server

2003-02-06 Thread Jonathan Patrick Freeman
Hussayn, the samples look really good, I'll check them out this evening. I
realize now that cocoon has more hooks than I original thought. I'd be
interested in (perhaps others) seeing a tutorial on the following URL
example with just Tomcat and Cocoon:

From:
http://localhost:8080/cocoon/myapp/index.html

To:
http://localhost/index.html

Thank you for your help,
Jonathan

And that's good to know about Tomcat 4.1.16++ by the way.

- Original Message -
From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 06, 2003 5:16 AM
Subject: Re: Location of cocoon webapp on server


 There is a brand new wiki page on this.

 You may look into it at

 http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation

 It is in the draft state right now, but i would be pleased, if you
 comment on it.

 the page misses one step that is needed for your requirements.
 Howto omitt cocoon from your http request.

 there is some documentation on this withion the official
 cocoon docs.

 in short terms:

 go to tomcat conf/server.xml

 add a Default Context for your app.
 If you use a NEWER version of tomcat, (tomcat-4.1.16++)
 you MUST take out cocoon from the default webapps directory
 and put it somewherre else and define that location
 within the Context. this is very brief answer.
 for more detailed look into the Wiki or the cocoon docs.


 regards, hussayn

 Anna Afonchenko wrote:
  Hi all.
 
  We have our web app under CATALINA_HOME/webapps/cocoon/ub
 
  which can be accessed on the webserver by
  http://domain.name:8080/cocoon/ub/*
 
  However, we want to put the ub directory under /home/cocoon/ub and to
  access it by http://domain.name/ub/*
 
  We can move the directory to /home/cocoon/ub, and therefore not under
  webapps/cocoon and call it by using a sub sitemap with the URL
  http://domain.name:8080/cocoon/ub/*
 
  But how do we lose the :8080/cocoon from the request URL?
 
  We are using apache 1.1 and the latest tomcat and cocoon and the jk1
  bridge between tomcat and apache.  The system is a linux box.
 
  I can modify the workers.properties file so that it mounts
  http://domain.name/ub to tomcat and then put a symbolic link in the
  tomcat web-apps directory to /home/cocoon/ub but this is both an ugly
  and not very stable solution.
 
  Thank you very much for your help
 
  Anna Afonchenko and Spencer Bruce

 --
 Dr. Hussayn Dabbous
 SAXESS Software Design GmbH
 Neuenhofer Allee 125
 50935 Koln
 Telefon: +49-221-56011-0
 Fax: +49-221-56011-20
 E-Mail:  [EMAIL PROTECTED]


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Location of cocoon webapp on server

2003-02-06 Thread Derek Hohls



And also from

http://localhost:8080/cocoon/myapp/index.html

to

http://myapp.com/index.html
on a "real" Apache/Tomcat server...

Derek
 [EMAIL PROTECTED] 06/02/2003 05:07:08 
Hussayn, the samples look really good, I'll check them out this 
evening. Irealize now that cocoon has more hooks than I original thought. 
I'd beinterested in (perhaps others) seeing a tutorial on the following 
URLexample with just Tomcat and Cocoon:From:http://localhost:8080/cocoon/myapp/index.htmlTo:http://localhost/index.htmlThank 
you for your help,JonathanAnd that's good to know about Tomcat 
4.1.16++ by the way.- Original Message -From: "SAXESS - 
Hussayn Dabbous" [EMAIL PROTECTED]To: 
[EMAIL PROTECTED]Sent: Thursday, February 06, 2003 5:16 
AMSubject: Re: Location of cocoon webapp on server There is 
a brand new wiki page on this. You may look into it 
at http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation 
It is in the draft state right now, but i would be pleased, if you 
comment on it. the page misses one step that is needed for your 
requirements. Howto omitt "cocoon" from your http 
request. there is some documentation on this withion the 
official cocoon docs. in short terms: go 
to tomcat conf/server.xml add a Default Context for your 
app. If you use a NEWER version of tomcat, (tomcat-4.1.16++) you 
MUST take out cocoon from the default webapps directory and put it 
somewherre else and define that location within the Context. this is 
very brief answer. for more detailed look into the Wiki or the cocoon 
docs. regards, hussayn Anna Afonchenko 
wrote:  Hi all.   We have our web app under 
CATALINA_HOME/webapps/cocoon/ub   which can be accessed 
on the webserver by  http://domain.name:8080/cocoon/ub/* 
  However, we want to put the ub directory under /home/cocoon/ub 
and to  access it by http://domain.name/ub/*  
 We can move the directory to /home/cocoon/ub, and therefore not 
under  webapps/cocoon and call it by using a sub sitemap with the 
URL  http://domain.name:8080/cocoon/ub/* 
  But how do we lose the :8080/cocoon from the request 
URL?   We are using apache 1.1 and the latest tomcat and 
cocoon and the jk1  bridge between tomcat and apache. The 
system is a linux box.   I can modify the 
workers.properties file so that it mounts  http://domain.name/ub to tomcat and then put a 
symbolic link in the  tomcat web-apps directory to /home/cocoon/ub 
but this is both an ugly  and not very stable solution. 
  Thank you very much for your help   
Anna Afonchenko and Spencer Bruce -- Dr. Hussayn 
Dabbous SAXESS Software Design GmbH Neuenho"fer Allee 
125 50935 Ko"ln Telefon: +49-221-56011-0 
Fax: +49-221-56011-20 E-Mail: 
[EMAIL PROTECTED] 
- 
Please check that your question has not already been answered in 
the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html 
To unsubscribe, e-mail: 
[EMAIL PROTECTED] For additional commands, 
e-mail: 
[EMAIL PROTECTED]-Please 
check that your question has not already been answered in theFAQ 
before posting. http://xml.apache.org/cocoon/faq/index.htmlTo 
unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, 
e-mail: 
[EMAIL PROTECTED]-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

"The CSIR exercises no editorial control over E-mail messages and/or
attachments thereto/links referred to therein originating in the
organisation and the views in this message/attachments thereto are
therefore not necessarily those of the CSIR and/or its employees.
The sender of this e-mail is, moreover, in terms of the CSIR's Conditions
of Service, subject to compliance with the CSIR's internal E-mail and
Internet Policy."