Re: Re: Problem of running pixory with JBoss + apache with mod_proxy
Carfield Yim <[email protected]>
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
Yes, you are right, thx! On Sun, 13 Jul 2003, Joe Panico wrote: > 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 > ADVERTISEMENT > click here > [rand=447860828] > To unsubscribe from this group, send an email to: > [email protected] > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Natural Vitamins for Good Prostate & Male Health. $28.97 http://www.challengerone.com/t/l.asp?cid=2865&lp=prosta2.html http://us.click.yahoo.com/qJIe0D/89VGAA/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/