diff --git a/ChangeLog b/ChangeLog index 7eea48c1a..adf41ac61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #2491017 [operations] ANSI mode not supported (db rename and table move) - bug #2609346 [operations] Fix copying views. - rfe #2127983 Readd documentation link, it does not protect against anything. +- bug #1675249 [doc] Apache reverse proxy and cookies FAQ 3.1.3.0 (2009-02-28) + [lang] Turkish update, thanks to Burak Yavuz diff --git a/Documentation.html b/Documentation.html index d1a0e136a..37fd2aac4 100644 --- a/Documentation.html +++ b/Documentation.html @@ -2914,6 +2914,33 @@ RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
Be sure that you have enabled SSLOptions and StdEnvVars in your Apache configuration. See http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#ssloptions.
+To be able to use cookie auth Apache must know that it has to rewrite the set-cookie headers.
+ Example from the Apache 2.2 documentation:
+ProxyPass /mirror/foo/ http://backend.example.com/ +ProxyPassReverse /mirror/foo/ http://backend.example.com/ +ProxyPassReverseCookieDomain backend.example.com public.example.com +ProxyPassReverseCookiePath / /mirror/foo/ ++ +
Note: if the backend url looks like http://host/~user/phpmyadmin, + the tilde (~) must be url encoded as %7E in the ProxyPassReverse* lines. + This is not specific to phpmyadmin, it's just the behavior of Apache. +
+ ++ProxyPass /mirror/foo/ http://backend.example.com/~user/phpmyadmin +ProxyPassReverse /mirror/foo/ +http://backend.example.com/%7Euser/phpmyadmin +ProxyPassReverseCookiePath /%7Euser/phpmyadmin /mirror/foo ++ +
See http://httpd.apache.org/docs/2.2/mod/mod_proxy.html + for more details.
+