Hello Bill, On Sunday, November 24, 2002, Bill McFadden wrote...
> A couple of days ago I finally sat down to install/configure squirrelmail. > Prior to doing anything I surfed around the the SM webpage. I noticed that a > number of people were having problems logging in. So I started. > First of all I did not have PHP installed so I commenced with that. I had > some difficulty getting that to run properly with a rpm that I got off of > rpmfind.net. So I ended up using a tar file off of php.net. > So my system looks like this: > Linux 7.2 > php-4.0.6-7 > sendmail-8.11.6-3 > squirrelmail-1.2.9-1.7.x > apache-1.3.22-6 > Once everything was installed much to my dismay I ended up with the "You > must be logged in to access this page" error. > I searched squirrelmail.com, the linux newsgroups for several hours trying > to figure out what was wrong. I ended up reading on this mailing list that > sombody had to change the register_globals to off in the php.ini. Before continuing... you might want to upgrade your SquirrelMail installation to the latest CVS 1.2.10[cvs] version (details on how to get the 1.2 branch of CVS are on the squirrelmail download page www.squirrelmail.org/download.php ). It was a small bug in our code that messed up the version verification, which has been fixed, and sessions are now working correctly. > In addition to the posting I was reading, which was really buried in > the arcives, it said by turning the register_globals to off that it > broke other things in php for various add-ons. Solution for that was > to put a .htaccess in the webmail directory with the following > setting: php_flag register_globals Off and reset php.ini back to > original with register_global settings on. I tried this however, it > didn't work. I found the original post and here is the url: > http://sourceforge.net/mailarchive/forum.php?thread_id=1258330&forum_id=2995 You have to have .htaccess allowoverrides turned on in your httpd.conf file. Find the section about your DocumentRoot, and there should be a section as such: <Directory "/path/to/docroot"> Options Indexes FollowSymLinks MultiViews AllowOverride None </Directory> It needs to be set as follows: <Directory "/path/to/docroot"> Options Indexes FollowSymLinks MultiViews AllowOverride All </Directory> This allows you to use .htaccess files to modify the permissions, and settings per folder basis. > My long question is with register_globals turned off in php.ini how > much difficulty am I going to have installing the various plugins or > should it be ok the way it is...one option of course is to leave > things they way they are and not to install plugins but there is no > fun in that It depends on the plugin really. If you join the plugins list, you'll be able to ask for assistance in certain plugins, and they may be nice enough to help update a plugin to work with register_globals set to off. In general, a number of people have been updating their plugins, or members of the plugin list have certainly been helping out a lot (thanks guys). So depending on what you need, you might find it has already been done. -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users