It seems to me what you really want to do with magnoliaPublic is redeploy it as the ROOT context. Then proxying will work between www.mysite.com and www.mysite.com:8080. You can usually do this by renaming the .war file ROOT.war and deploying it. Also be sure to remove the original ROOT context provided with Tomcat and make adjustments to the subscriber section of your authoring instance.
--David anthony rogers wrote: >Can anyone tell us more about this? > >None of my links work after I have set up the proxypass stuff in Apache. I >want the site to just be http://www.mysite.com/index.html. It seems the >links to images, css, video (anything) don't work after setting up a >proxypass. I don't want to have the /magnoliaPublic/ within the my sites >URL. > >Proxypass / http://www.mystite.com:8080/magnoliaPublic >ProxyPassReverse / http://www.mysite.com/8080/magnoliaPublic > >The below email seems to be trying to explain what is happening here- but I >can seem to get my head around it... Do I need to add a file to >'/magnoliaPublic/WEB-INF'? something called context.xml maybe? I looked this >up online and got a lot of info, but nothing saying much. Would be great to >get this all cleared up so we can deploy live sites over Apache. > >If anyone could help that would be great. > >aNt > > > >>-----Original Message----- >>From: user-list@magnolia.info [mailto:[EMAIL PROTECTED] >>Sent: 03 August 2005 23:26 >>To: user-list@magnolia.info >>Subject: Re: [magnolia-user] get site URL's to work without needing >>'/magnoliaAuthor/' or '/magnoliaPublic/'? >> >>1) Tomcat's standard deployment in version 5 allows one of two ways of >>supplying a ResourceLink. First, you can write a file named context.xml >>in the META-INF folder of your war file which only contains the >><Context> element, it's attributes and content. No need to bother with >>DTD or schema declarations or even the <?xml version="1.0"?> line at the >>beginning. When tomcat deploys the war file, this file will be copied >>to tomcat's config/Catalina/localhost folder and renamed to match your >>webapp. For example, if the webapp is in magnoliaAuthor.war, the >>context file will become magnoliaAuthor.xml. Alternately, if you are >>deploying an expanded folder, just place the xml file directly in >>config/Catalina/localhost and name it after the webapp as described above. >> >>2) You can use the special name ROOT to indicate the root context -- the >>one without a webapp name. In this case, the context xml file will have >>a path attribute of "" (empty string) in the <Context> element and leave >>out the docbase attribute. An example URL to the ROOT context will be >>http://localhost:8080/.magnolia/adminCentral.html for the admin section >>of the app. If you have this setup as the public instance and the same >>tomcat has magnoliaAuthor, magnoliaAuthor will still receive any >>requests that are of the form >>http://localhost:8080/magnoliaAuthor/some/path.html even if there is an >>equivalent in the ROOT webapp. >> >>--David >> >>Robert Van Overmeiren wrote: >> >> >> >>>Hello, >>> >>>While running Author & Public on a single engine, and having them deploy >>> >>> >>>from WAR files is all well and good, it seems to require a different >> >> >>>approach from the adminisrative side. >>> >>>Previously, 'magnoliaAuthor' and 'magnoliaPublic' could be setup as >>>services in server.xml. Now there's no 'magnolia' context or service in >>>server.xml, which I think is because the engine deploys them >>>dynamically. >>> >>>My questions are... >>> >>>Where can I setup a ResourceLink to a global resource if there's no >>>context in server.xml or web.xml? >>> >>>Previously, if I set up a 'home.html', I could count on '/home.html' >>>taking me the the webroot, but now I have to include '/magnoliaAuthor/' >>>for the webroot. Same for magnoliaAuthor. Now my links aren't portable >>>between the two. Is it up to the server admin to perform some wizardry >>>with the apache mod_jk workers.properties to get these site URL's to >>>work without needing '/magnoliaAuthor/' or '/magnoliaPublic/'? >>> >>>Regards, >>>Bob Van >>> >>>---------------------------------------------------------------- >>>for list details see >>>http://www.magnolia.info/en/magnolia/developer.html >>>---------------------------------------------------------------- >>> >>> >>> >>> >>-- >>David Smith >>Network Operations Supervisor >>Department of Entomology >>Cornell University >>2132 Comstock Hall >>Ithaca, NY 14853 >>Phone: (607) 255-9571 >>Fax: (607) 255-0940 >> >> >>---------------------------------------------------------------- >>for list details see >>http://www.magnolia.info/en/magnolia/developer.html >>---------------------------------------------------------------- >> >> > > >---------------------------------------------------------------- >for list details see >http://www.magnolia.info/en/magnolia/developer.html >---------------------------------------------------------------- > > -- ======================================= David Smith Network Operations Supervisor Department of Entomology College of Agriculture & Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------