LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-12-2006, 10:19 AM   #1
comptech520
Member
 
Registered: Apr 2006
Posts: 31

Rep: Reputation: 15
.htaccess and password protect


hello,

I created a file called .htaccess that I put in the directory that I want to protect, and I created a file called .htpasswd and put it in a different directory.

When I loging to the site it sometimes prompts me a 2nd time to login.

How come that is?

Thanks
 
Old 06-12-2006, 10:45 AM   #2
fedora4002
Member
 
Registered: Mar 2004
Posts: 135

Rep: Reputation: 15
You should not put .htaccess in the directory that you want to protect. Can you post your configuration file? Otherwise, there is too little information to understand what's going on here.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protect a directory aquatux Suse/Novell 6 08-01-2005 11:56 PM
Password protect folder? sall Linux - Security 4 07-18-2005 05:57 PM
how to password protect certain directories? sirpelidor Linux - Security 3 10-06-2004 12:16 PM
Password protect a directory Stephanie Linux - General 6 03-26-2002 02:58 PM
Password protect souvik Programming 0 05-22-2001 05:28 AM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration