LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2003, 09:03 PM   #1
im1crazyassmofo
Member
 
Registered: Jan 2003
Distribution: Slackware/Debian
Posts: 91

Rep: Reputation: 15
.htaccess in apache 2


I recently installed Apache-2.0.45 on my box and when i want to make my whole site password protected...(just for a little bit) but it doesnt ask me for a user/pass i have my .htaccess file in /usr/local/apache2/htdocs and my .htpasswd in my ~

here is my htaccess file:

AuthUserFile /home/matt/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

require valid-user


something wrong with that?
 
Old 04-04-2003, 02:50 AM   #2
Yoss
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Apache Documentation - AllowOverride
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Apache and .htaccess spud Programming 1 03-17-2005 12:52 PM
Apache/2.0.51 .htaccess 2782d4 Linux - Software 2 02-08-2005 01:12 PM
apache .htaccess linuxanswer Linux - General 1 05-01-2004 05:20 PM
apache .htaccess emetib Linux - Software 4 09-22-2003 07:50 AM
is htaccess on apache 2.0 not the same as in 1.3 abd_bela Linux - General 3 07-23-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration