Jonathan,

I have just tried the suggestion by Konstantin, which was this:

        <Context path="" docBase="cocoon">
            ...
        </Context>

This has changed the address, but has not changed the physical directory
that they are in. I am trying to clean up my directories!

I have made a new folder called soundpool in webapps like you suggested,
but what do I need to change in the server.xml. I have found the section
vitual host and have copied it below:


<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
append="true"/>


Which part of this would I change for it to point it in the right
direction?

I am also not sure what you mean by my cocoon's main sitemap is mounting
my soundpool sitemap. The way I have it set up at the moment is that I
have main sitemap in the following directory:

C:\tomcat\webapps\cocoon\sitemap.xml

My XML and XSL files are also stored in this directory, hence the need
for some organisation. Obviously I would need to move my sitemap with
the files to there new folder, so how would I my main sitemap mount the
soundpool sitemap?

Thanks,

Richard.

(By the way I had a quick look on the wiki site, and couldn't find
anything, hence my ask for help here)



-----Original Message-----
From: Jonathan Patrick Freeman [mailto:[EMAIL PROTECTED]] 
Sent: 04 February 2003 15:35
To: [EMAIL PROTECTED]
Subject: Re: Directories

Richard,

Unless I'm wrong (and usually I am :) I think you need to move your
directory "soundpool" to a webapp level and update the virtual host
section
of your server.xml file in tomcat's conf directory. Your cocoon's main
sitemap is mounting your soundpool sitemap, correct? The cocoon
directory is
already a webapp. You simply need to make soundpool a webapp with its
main
sitemap and WEB-INF folder, jars, libs, etc...

Something like:  C:\tomcat\webapps\soundpool

This really should be documented on Wiki too. Maybe it already is?

Regards,
-Jonathan


----- Original Message -----
From: "Richard Cunliffe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 10:20 AM
Subject: Directories


> Hi,
>
> Cocoon 2.0.4
> Tomcat 4.0.6
>
> Can someone point me in the right direction for setting up
directories?
> For example my current URI and hard disk location looks like this:
>
> http://192.168.0.5:8080/cocoon/soundpool/soundpool.html
> C:\tomcat\webapps\cocoon\soundpool.xml
>
> If I wanted to change the URI address to this:
> http://192.168.0.5:8080/soundpool/soundpool.html
>
> How would I change the disk location, and in what files would I need
to
> change for it to direct the incoming request to the right disk
location?
>
> Is there an equivalent to flash guide on this subject?
>
> Thanks,
>
> Richard.
>



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

Reply via email to