Nick Rothwell | 18 Aug 11:46
Favicon
Gravatar

Proxy cookie issue - fixed...

A quick follow-up to the problems I was having with proxied SnipSnaps
not preserving logins... Turns out it was just pilot error. For some
daft reason, I'd been saying

	http://<server>:8668/install?expert=true

for each "instance", setting the application prefix each time. This
was giving me several complete webapps. The application prefix meant
that each one would get the cookie path for logins right with a direct
connection to <server>:8668, but not when proxied through Apache.

The correct action, of course, is

	http://<server>:8668/admin/configure?prefix=/xxxx

which creates a new instance inside an existing webapp, and sets up
prefix which works correctly via proxying.

The real giveaway was the diagnostics given out by SnipSnap when it
starts up: one gets to see each webapp in turn, and all the SnipSnap
instances (and prefixes) per webapp.

Thanks to Leo for spending time looking into this with me...

	-- N.

--

-- 

  nick rothwell -- composition, systems, performance -- http://www.cassiel.com
(Continue reading)


Gmane