Liam Morley wrote:

> I'm looking for somebody who is using the above pieces. Or really just
> anybody who is using mod_rewrite. My mod_rewrite is set up as follows:
> 
> RewriteEngine On
> RewriteLog "E:/apache/Apache/logs/rewrite.log"
> RewriteLogLevel 3
> RewriteRule ^/(.*) /cocoon/cms/$1 [PT]



You are running on Windows, right? Maybe, you should use 
"E:\apache\Apache\logs\rewrite.log" instead ('\' instead of '/').

In my case (on a Linux machine), the [PT} did noy work for me. Instead, 
I have [R] and that worked correctly with Tomcat 4.0.1 and Cocoon2.0rc2.


> 
> These lines are directly after the AddModule section. I want my Cocoon
> application to seem like it's at the root directory. I'm hoping that's
> what's getting accomplished here.
> 
> I have mod_webapp set up as follows:
> 
> WebAppConnection conn warp imotic.res.wpi.net:8008
> WebAppDeploy cocoon conn /cocoon


Did you also include something like (on Linux):

LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c


> 
> This is at the bottom of my httpd.conf file. I'm getting a 404 when I
> try accessing the root directory. I checked my Apache error.log file and
> saw the following:
> 
> [Thu Nov 29 03:55:21 2001] [error] [client 130.215.226.58] File does not
> exist: e:/apache/apache/htdocs/cocoon/cms/
> 
> Why would it be looking in the htdocs folder?? Shouldn't it know from
> webapp that anything in /cocoon is handled by tomcat?
> 
> I tried setting webapp to be deployed in the root directory, and changed
> the rewrite rool from /cocoon/cms/$1 to /cms/$1. Upon loading the page,
> the cocoon website came up; "/cocoon" instead of "/cocoon/cms".
> 
> This leads me to believe that webapp is getting processed before
> rewrite. This is the opposite order in which I want them to be
> processed. How do I make sure that rewrite is processed first?
> 
> A huge thank you to anybody who can help out.
> 
> Liam Morley
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 



-- 
Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW: http://www.biochem.oulu.fi/Biocomputing/


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

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

Reply via email to