The wiki I setup on my local box (Ubuntu) works great. I used a similar procedure to set this up on a linux host ( http://mudabone.com/sandBoxWiki ) and everything seems to work fine except for users. When you login in, it logs you right back out the very next click. Try logging on as WikiSysop/WikiSysop - the next link you click will log you back out. Any idea what would cause this?
-ben
ben wiseley wrote:
The wiki I setup on my local box (Ubuntu) works great. I used a similar procedure to set this up on a linux host ( http://mudabone.com/sandBoxWiki ) and everything seems to work fine except for users. When you login in, it logs you right back out the very next click. Try logging on as WikiSysop/WikiSysop - the next link you click will log you back out. Any idea what would cause this?
This is generally caused by a bad default configuration for PHP sessions on a web server farm. Each server stores the session files to its local hard disk, so consistent session cannot be maintained from request to request.
SourceForge's project hosting is a common victim of this, and you may find some of the notes useful at http://meta.wikimedia.org/wiki/Sourceforge
-- brion vibber (brion @ pobox.com)
Brion - thanks for the link! Added this to the LocalSettings.php
# from http://meta.wikimedia.org/wiki/Sourceforge session_save_path("/public_html/sandBoxWiki/sessions");
and people can now remain logged in.
-ben
On 4/27/05, Brion Vibber brion@pobox.com wrote:
ben wiseley wrote:
The wiki I setup on my local box (Ubuntu) works great. I used a similar procedure to set this up on a linux host (
http://mudabone.com/sandBoxWiki )
and everything seems to work fine except for users. When you login in,
it
logs you right back out the very next click. Try logging on as WikiSysop/WikiSysop - the next link you click will log you back out. Any idea what would cause this?
This is generally caused by a bad default configuration for PHP sessions on a web server farm. Each server stores the session files to its local hard disk, so consistent session cannot be maintained from request to request.
SourceForge's project hosting is a common victim of this, and you may find some of the notes useful at http://meta.wikimedia.org/wiki/Sourceforge
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Actually - people can now remain logged in only if they check "Remember my password across sessions." when logging in. Otherwise they get logged back out.
I wrote a simple app to test session variables and it works http://mudabone.com/examples/sessions/page1.php from http://www.phpfreaks.com/tutorials/41/1.php
Any ideas on what I should ask the linux host (OnSmart.nethttp://OnSmart.net) to change to get mediawiki sessions working?
-ben
On 4/28/05, ben wiseley wiseleyb@gmail.com wrote:
Brion - thanks for the link! Added this to the LocalSettings.php
# from http://meta.wikimedia.org/wiki/Sourceforge session_save_path("/public_html/sandBoxWiki/sessions");
and people can now remain logged in.
-ben
On 4/27/05, Brion Vibber brion@pobox.com wrote:
ben wiseley wrote:
The wiki I setup on my local box (Ubuntu) works great. I used a
similar
procedure to set this up on a linux host ( http://mudabone.com/sandBoxWiki
)
and everything seems to work fine except for users. When you login in,
it
logs you right back out the very next click. Try logging on as WikiSysop/WikiSysop - the next link you click will log you back out.
Any
idea what would cause this?
This is generally caused by a bad default configuration for PHP sessions on a web server farm. Each server stores the session files to its local hard disk, so consistent session cannot be maintained from request to request.
SourceForge's project hosting is a common victim of this, and you may find some of the notes useful at http://meta.wikimedia.org/wiki/Sourceforge
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org