> -----Ursprungliche Nachricht-----
 > Von: Phil Blake [mailto:[EMAIL PROTECTED]]
 > Gesendet: Mittwoch, 12. Dezember 2001 07:34
 > An: [EMAIL PROTECTED]
 > Betreff: Re: FAQ - How do I hide "cocoon" in the URL
 >
 >
 > > What they're referring to in the FAQ is that, by default, all URL's
 > > contain "cocoon" in them, since usually cocoon resides in a "cocoon"
 > > sub-dir under, say, Tomcat.  They provide directions how to take
 > > "cocoon" out of the URL.
 >
 > I've used the method in the FAQ and it works fine but it does not "hide"
 > cocoon. It just saves you typing it the first time and performs a
 > redirect to get "cocoon" back into the URL.
 >
 > Have I missed something here?
 >
 > Both the following (from the example) perform redirects and therefore
 > don't hide "cocoon" - you just don't need to type it the first time.
 >
 > RewriteRule ^/Foo /cocoon/Foo/ [R]
 > RewriteRule ^/Foo(.*) /cocoon/Foo$1 [R]
 >
 > Please correct me if I'm wrong... I so want to be wrong :)
 >
 > Thanks again,
 >
 > Phil
 >

Another possibility is the Apache webserver module "mod_proxy". Have a look
at http://www.apacheref.com/ref/mod_proxy/ProxyPassReverse.html and
http://www.apacheref.com/ref/mod_proxy/ProxyPass.html

Reinhard


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


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