> -----Original Message----- > From: Marcus Yu [mailto:myu@xxxxxxxxxxxxxxxx] > Sent: Thursday, September 28, 2006 10:41 PM > To: users@xxxxxxxxxxxxxxxx > Subject: [users@httpd] Use own login page possible? > > Hello, > > My site uses Apache 2.0.53, PHP 4.3.11 and MySQL 5.0.18 on > Fedora Core 3. The .htaccess file is used to control access. > There is a default > user name, password login page for signing in to Apache > server. Through that, PHP_AUTH_USER and PHP_AUTH_PW will be > set. Is that possible > I use my own php login page and set PHP_AUTH_USER and > PHP_AUTH_PW, get rig of the default login page? By "default login page" do you mean the pop-up pawword challenge in the client browser? If so, you might be asking the same question as is discussed on this thread: http://marc.theaimsgroup.com/?l=apache-httpd-users&m=115934803326481&w=2 . However, since you are using PHP to do session-handling, you don't need to use basic auth at all. You just make a form (ie, the login page) that returns a cookie when authenticated, then the user can only access the content when he presents the cookie. The details of the implementation are PHP-specific and have nothing to do with apache, so I would switch over to a PHP forum if you want to go that way. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Thanks, > > Marcus > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx