ZenphotoCMS Forum
ZenPhoto on a Proxy Server - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ZenPhoto on a Proxy Server (/thread-4837.html)



ZenPhoto on a Proxy Server - subnetrx - 2009-03-11

Ok, I have a problem that I can't figure out. My server is www.mysite.com. My server files are proxied and are on www1.mysite.com. ZenPhoto automatically detects this and inserts www1.mysite.com into CSS and image file URLs when I pull the site up. So, I see the ZenPhoto installation, but I don't see anything else because it's trying to pull files from www1 instead of www like all of my other applications do. On the other applications, there is a baseURL that I change to get the correct behavior. In ZenPhoto, I only see a base folder setting, but no way to set a new baseURL.




ZenPhoto on a Proxy Server - acrylian - 2009-03-11

I have absolutly no experience or knowledge about proxies and Zenphoto but you might either try to set the webpath and serverpath manually on the zp config file around line 65.




ZenPhoto on a Proxy Server - subnetrx - 2009-03-11

Well, setting the web path to a full URL results in errors. Folders won't help me in this particular case since the folder is not the problem, it's the base url. Every application I work with either lets you set a baseURL variable or uses relative paths for everything. I haven't really run upon one that automatically detects baseURL and only lets you set the folder.




ZenPhoto on a Proxy Server - acrylian - 2009-03-11

Have you maybe tried changing the htaccess file manually?