LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2005, 11:52 PM   #1
exit
LQ Newbie
 
Registered: Sep 2004
Location: San Diego, CA USA
Distribution: SuSE 9.1
Posts: 14

Rep: Reputation: 0
Login Page


I'm trying to setup a website that requires a user to sign in, and I'm looking for some reading material that will help me figure out what I'm doing. I'm using Apache with MySQL.

I have a MySQL database setup up with a table called user_info. I have mod_auth_mysql.so.

I know I need to do stuff to my httpd.conf (although this file seems a little strangein SuSE), and create a .htaccess file.

Anybody know of a good comprehensive tutorial on how to create this login page with apache and mysql? Thanks for any help.
 
Old 08-21-2005, 12:08 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The mod_auth_mysql page would seem to be a good place to start. You may need to install the module if it didn't come installed by default with your Apache.
 
Old 08-21-2005, 12:03 PM   #3
exit
LQ Newbie
 
Registered: Sep 2004
Location: San Diego, CA USA
Distribution: SuSE 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Thx btmiller. That's exactly what I needed. I'm confused by the .htaccess though, because some sites say to use underscores in directives, and other sites say not to. ie: Auth_MySQL_Password_Table vs. AuthMySQLPasswordTable. I guess I'll try 'em both. So I've got everything setup correctly as best I can tell, how would I create a login page that takes a user to the protected directory? Know of any good websites for that?

Thanks a mil.
 
Old 08-23-2005, 12:10 AM   #4
exit
LQ Newbie
 
Registered: Sep 2004
Location: San Diego, CA USA
Distribution: SuSE 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
I'm finding a lot of mention about LAMP regarding all this. Linux, Apache, MySQL, and PHP. I've bought a book on the subject so we'll see if it actually helps. I just wanted to post this about LAMP for anyone else doing a search on the same subject. Perhaps I'll post again if this actually gets me to where I want to go.
 
Old 08-23-2005, 08:27 PM   #5
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
check my page, it has frames, and user areas that require login. I used the simple method of creating a non-user user and linking to his /~/public_html then there i used .htaccess and .htpasswd (using apache's password encryptor) and i had to change a few lines in my /etc/apache/httpd.conf file. but they seem to work ok. I also use dyndns to make a human readable name follow my dynamic ip address and ddclient to update dyndns when my ip changes

my site is http://pyromaniacs.homelinux.org

if you have any questions about how anything was done specifically, i'll try to help

-Jay
 
Old 08-31-2005, 02:49 PM   #6
Koven
Member
 
Registered: Dec 2003
Distribution: Arch Linux
Posts: 49

Rep: Reputation: 15
I just want to know how can i setup the ddclient. i have ubuntu Woary. Thanks for your time..

Regards
 
Old 09-01-2005, 09:20 PM   #7
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
not sure what you need to setup, except for getting the program (synaptic perhaps?) but you need to set up your /etc/ddclient/ddclient.conf file according to the router you are using and the dns service you are using as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp web page login paul_mat Linux - Software 9 11-16-2005 02:13 AM
Login page - Big problem with PHP -- Please help me b:z Programming 13 04-05-2005 07:43 AM
wireless network login page radam Linux - Wireless Networking 1 06-30-2004 08:49 AM
login start page suggestion tobyl LQ Suggestions & Feedback 4 04-17-2004 03:00 PM
Where is the sqwebmail login page? Madrinator Linux - Networking 6 09-17-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration