Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-12-2006, 10:19 AM   #1
Registered: Apr 2006
Posts: 31

Rep: Reputation: 15
.htaccess and password protect


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?

Old 06-12-2006, 10:45 AM   #2
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.


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 / openSUSE 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 09:32 AM.

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