Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> .htaccess With Mysql, Help!
kjelle
post Mar 22 2004, 06:19 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-March 04
Member No.: 2,629



This is my .htaccess file:

AuthName "secret area"
AuthType Basic
AuthGroupFile "/dev/null"
AuthMySQLCryptedPasswords Off
AuthMySQLHost "host123"
AuthMySQLDB "db123"
AuthMySQLUserTable "user_auth"
AuthMySQLUser "user123"
AuthMySQLPassword "pass123"
AuthMySQLNameField "user_name"
AuthMySQLPasswordField "user_passwd"
AuthMySQLAuthoritative On

<Limit GET PUT>
order allow,deny
allow from all
require valid-user
</Limit>


Now.. Why an "Internal Server Error" error? I have created the tables:


CREATE TABLE user_auth (
user_name CHAR(30) NOT NULL,
user_passwd CHAR(20) NOT NULL,
user_group CHAR(10),
PRIMARY KEY (user_name)
);

in my database. Still it doesn't work.

What can be wrong? smile.gif
Go to the top of the page
 
+Quote Post
Robert83
post Mar 22 2004, 06:32 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi

Please take a look at this page :

http://www.linuxhelp.net/guides/htaccessmysql/


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
kjelle
post Mar 22 2004, 07:11 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-March 04
Member No.: 2,629



Yes. I got here from that one smile.gif
Go to the top of the page
 
+Quote Post
Robert83
post Mar 22 2004, 07:15 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Sorry then... smile.gif

I'm sorry but I'm pretty new to MySQL myself, so you'll need to wait till someone comes online with more experience in MySQL

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 02:46 PM