From: Van Date: May 24 1999 9:23pm Subject: Re: mod_auth_mysql problem List-Archive: http://lists.mysql.com/mysql/3850 Message-Id: <3749C338.AA36A2F0@dedserius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Evan Thomas wrote: > > Hello, > > I have mod_auth_mysql working on my server using Apache. However, I wanted to > let users be able to change their passwords but I am running into a problem > here. > > First, I have a form where they can enter their new password. This data gets > sent to a php form when they hit submit. My problem is that they get prompted > to enter their username and password again at this point by apache even though > they are already authenticated. > > Perhaps this is because I am accessing and changing the password field with SQL > in the php page the form redirects them to. > > Does anybody know a way to stop that from popping up. I am getting desperate > and any help is much appreciated > > Thanks, > Evan Evan, It could be a problem with not getting a mysqladmin reload issued after the password change, or, if the form they enter their passwd in is in a different directory than the one they're redirected to. If this is the case, you need to replicate the .htpasswd file into each directory within the secure PHP DocumentRoot area. Hope this helps. Van - ========================================================================= Linux rocks!!! www.dedserius.com =========================================================================