Re: maskWanPort
"d98766789" <[email protected]>
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Message-ID | <[email protected]> |
Thanks Joe. This clears everything up. --- In [email protected], "Joe Panico" <pixory@y...> wrote: > I'll just add that the only hardcoded URLs are in the email invites. > In the invites, the "web context" (host:port) comes from the 'wan > hostname' and 'mask wan port' fields in the advanced config. > > regards, > > joe > > --- In [email protected], joe panico <pixory@y...> wrote: > > Dan, > > > > 'Mask wan port' is there to support port > > mapping by proxies/gateways/routers. For instance, my > > Dynamic DNS provider > > (Dynu.com) can map certain URLs to certain ports on > > my lan. So it's possible, if the moon is in the right > > alignment, for me to send out Pixory invitations that > > do _not_ contain a port number, even though Pixory is > > running on 8081. > > > > instead of http://yyy.yyy.yyy:8081 > > just http://yyy.yyy.yyy > > > > The 'mask wan port' selection affects _only_ the urls > > that appear in the email invitations: nothing else. > > > > > I have this half working with mod_proxy but albums > > > seem to embed > > > http://localhost:8081 in a lot of the navigation. > > > > Pixory doesn't hard code the "web context" > > (http://hostname:port)-- it should always use the "web > > context" of the requesting URL. So if your guest > > arrives at Pixory (via a proxy) with URL > > http://yourhost, then all of the navigation should be > > based on that context, and not some other hardcoded > > context. Of course, if you proxy is _rewriting_ the > > URLs, then that's a different story. The important > > thing is the request URL that shows up to the Pixory > > web application. > > > > Hope this helps. > > > > Joe > > > > --- Dan Durkin <durkin@m...> wrote: > > > What's the expected behavior of maskWanPort? > > > > > > or, if this is documented, please point me to it. > > > > > > I'm looking to set up pixory running on some port > > > and either forward requests > > > from a gateway router or apache. > > > > > > I was hoping to set up apache on port 80 and forward > > > requests to pixory. > > > > > > I have this half working with mod_proxy but albums > > > seem to embed > > > http://localhost:8081 in a lot of the navigation. > > > > > > I was hoping to set up several pixory instances and > > > setup apache with several > > > virtual hosts doing forwarding to the correct pixory > > > instances based on the > > > virtual host or url pattern. > > > > > > Any help would be greatly appreciated. > > > > > > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! News - Today's headlines > > http://news.yahoo.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get A Free Psychic Reading! Your Online Answer To Life's Important Questions. http://us.click.yahoo.com/Lj3uPC/Me7FAA/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/