Re: Problem of running pixory with JBoss + apache with mod_proxy
"Joe Panico" <[email protected]>
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
Carfield, ok, I understand your problem. It might be possible for me to use relative URL's in the Album Viewer pages. Let me check it out. But should it not also be possible to configure your mod_proxy so that Pixory sees the original request server/port? It seems pretty obvious what is happening. Your apache proxy, which is running on the same box, eats the original servername/port and then passes the request to Pixory as though it were an active client. Since they are on the same box, Pixory sees the request coming from "localhost:8080". But a transparent "pass-through" proxy would preserve the original server/port in the forward from the proxy to the final destination. This is probably just a configuration issue. regards, joe --- In [email protected], Carfield Yim <mailing@d...> wrote: > Now I change to use mod_proxy but not mod_jk as jetty_apache > communication method. > http://jetty.mortbay.com/jetty/doc/JettyWithApache.html > > The admin page is fine but the public view is not. All content refer to > > http://localhost:8080/pixory/..... > > I suspect that request.getServerName() and request.getServerPort() > return something not desirable. However, as admin page is ok for using > relative path to make everything work, is it ok to make the public album > also use relative path so that the mod_proxy is also work with pixory? > > Here is the problem example: > http://www.carfield.com.hk/pixory/servlet/pxapplication > > > \\\|/// > \- - -// > ( @ @ ) > -----------oOOo-(_)-oOOo------------------------------------------------ > Visit my homepage at http://www.carfield.com.hk > > Programming discussion groups > Software design: news://news.carfield.com.hk/programming.design > Design Pattern: news://news.carfield.com.hk/programming.design.pattern > java: news://news.carfield.com.hk/programming.java > linux: news://news.carfield.com.hk/programming.linux > ------------------------------------------------------------------------ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges & Refill Kits for Your HP at Myinks.com Free shipping on orders $50 or more to the US and Canada. http://www.c1tracking.com/l.asp?cid=5706&lp=home/hp.asp http://us.click.yahoo.com/arYXfA/.xWGAA/ySSFAA/EGnolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/