Last modified: 2010-05-15 15:29:34 UTC
If I have a MediaWiki installed in $HTDOCS/mediawiki and an other website in $HTDOCS/web, the PHP variable "$_COOKIE" in $HTDOCS/web/index.php show me all MediaWiki cookies. This problem may cause problems for the sites in the same web-server. The solution is to set the path of cookies at the correct directory (now the path is "/" and should be like "/mediawiki"). Sorry for the english. ^_^ Apache 4.3.8, PHP 1.3.1, MySQL 4.0.20, Linux Slackware 10/2.6.7. Tested with Mozilla 1.7 and Konqueror 3.2.3.
Yeah, that's how cookies work. If you want to override the cookie path, set these variables: $wgCookieDomain = ''; $wgCookiePath = '/';