[ZendTo] Re: Probably a stupid questionŠ .
Gray McCord
gdm at sangabriel.com
Sat Jul 13 17:21:00 BST 2013
Thanks, John! I'll give this a try. BTW, when you talk about less
throughput, can you tell about how much? I did notice increased latency when
accessing the proxied site, but haven't run any performance tests once the
link was established.
Thanks again,
Gray
-----Original Message-----
From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of
John Thurston
Sent: Friday, July 12, 2013 4:54 PM
To: ZendTo Users
Subject: [ZendTo] Re: Probably a stupid questionŠ .
On 7/12/2013 11:32 AM, Gray McCord wrote:
> I'm trying to run Zendto behind a reverse proxy. Mostly seems to work
> with one exception: The home button and home "icon" in the header
> always return the absolute URL of the system Zendto is running on
> rather than the proxy-ed address. Everything else seems to act as
expected.
>
> Doing a little digging, I found the variable "$zendTOURL" used to set
> the home URL in header.tpl. As a "hack-test", I replaced the
> reference to the home page's home button tieh "/", and it worked.
>
> Unfortunately, I have been unable to find where the $zendTOURL
> variable is actually set to see if I can fix this on my installation.
> Can anyone tell me where this variable is set when ZendTo loads? Has
> anyone else had any experience running ZendTo behind an Apache 2.2 reverse
proxy?
I run mine behind such a proxy. It has significantly lower throughput than
hitting it directly, but I like the flexibility.
As I recall, I ran into your problem as well as difficulty trying to publish
ZendTo on a path other than /. I wanted my application to be published at
foo.bar.com/drop/, so on the proxy (foo.bar.com), I have:
proxypass /drop https://zar.bar.com/drop
on my ZendTo instance of apache running on zar.bar.com, I have:
alias /drop /opt/zendto/www
but I _also_ have told apache that its name is foo.bar.com with:
servername foo.bar.com
Yes, it is a bit of a hack, but it got the job done.
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska
_______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the ZendTo
mailing list