Thanks David, you were right I've seemed to of solved it by using ProxyPassReverse rules to modify headers when magnolia does a redirect.
- Linden -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Smith Sent: Friday, 20 November 2009 3:47 PM To: Magnolia User-List Subject: Re: [magnolia-user] A couple of questions: Linden Varley wrote: > > Hi all > > > > Is it possible to set the “servername” property within the magnolia > config, rather than it getting it from the system on startup? (This is > useful when using a different domain name when accessing magnolia, > such as when proxying to it from another address) > > > > Secondly, being able to edit templates within the web interface using > the templating kit is great. I’ve got a lot of existing jsp templates > on the file system, which I would like to add within the templates > node in the templating kit so I can also edit them directly. Is this > possible and how? > > > > Thanks > > - Linden > > > > I suspect you really want to set proxyName on the tomcat connector you are proxying the site through. Connectors are defined by the <Connector ... /> elements in tomcat's server.xml file. If Magnolia is doing the right thing, it's using the server name provided in the request, not from the system on startup. Docs for the <Connector ... /> element and the proxyName attribute are at http://tomcat.apache.org/tomcat-6.0-doc/config/http.html (assuming you have tomcat 6). --David ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
