Peter Flynn wrote:
Luca Morandini wrote:
Peter Flynn wrote:

Whereabouts in the pipeline is that "/cocoon" veing inserted, and why? I've clearly misunderstood something vital here, but I can't see what.

Just one question: do you use Apache HTTPd's mod_proxy or mod_rewrite as a front-ent to Tomcat ?

Both are loaded, and AFAIK the proxy is used only once in httpd.conf, and rewrite not at all:

<VirtualHost *:80>
    ServerAdmin webmas...@ucc.ie
    DocumentRoot /var/www/xml
    ProxyPreserveHost On
    ProxyPass / ajp://localhost:8009/cocoon/
    ProxyPassReverse / ajp://localhost:8009/cocoon/
    ServerName publish.ucc.ie
    ErrorLog logs/publish.ucc.ie-error_log
    CustomLog logs/publish.ucc.ie-access_log common
</VirtualHost>

Well, you're using mod_proxy_ajp, not mod_proxy, right ? I have no experience in it, but it may require a different setting [1].

Anyway, may you try with an internal redirect instead ?

  <map:match pattern="">
    <map:redirect-to uri="cocoon:/index"/>
  </map:match>

Regards,

[1] http://lenya.apache.org/docu20/tutorials/proxy/modproxyajp.html

--------------------
   Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to