On Mon, 13 Jun 2005, Rafa Pérez wrote: > On 6/2/05, Rafa Pérez <[EMAIL PROTECTED]> wrote:
[ ... ] > > Hi again. After some time trying some things with my proxy > configuration here I am again. > First of all, it seems that if are defined some rewriting rules in the > apache configuration file, it is not necesary to change the > publication.xconf at all. In fact, I have done this and it works, so I > wonder why should it be necesary to change that file? The proxy settings are also needed within lenya itself for LinkRewriting. If you definge e.g. <proxy url="http://www.yourpub.org" ssl="false" area="live"/> You will end up wiht url's like http://www.yourpub.org/foo/bar.html. If you did not define the live proxy you will have url's likd http://www.yourpub.org:8080/lenya/pubid/live/foo/bar.html. > > Otherwise, I have deployed my publication in tomcat under the ROOT > context of the servlet engine (as explained in > http://lenya.apache.org/1_2_x/tutorial/mod_proxy_and_lenya.html) > and I realized about some problems when trying to make the proxying > for the live side of the site: > * The pages shown in the first level of the publication (as the > index page of the site) search for the css and the project-logo in > "/lenya/{pub}/live/css/page.css" and > "/lenya/{pub}/live/images/project-logo.jpg". > * The pages shown in the second level look for the same files in > "../css/page.css" and "../images/projecto-logo.jpg" > That would means that the context-prefix is hardcoded. Is this related to http://issues.apache.org/bugzilla/show_bug.cgi?id=31157? [ ... ] Jann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]