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.


Sign Up Now
Reply to this topicStart new topic
> Htaccessusage, questions
post Jan 2 2004, 01:52 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 2-January 04
Member No.: 2,061

key: my comments are inside < > marks
<cut from your web pages>

AuthType selects the type of user authentication that will be used. You can leave this as Basic require let's all the valid users in the .htpasswd file access the directory.

Once your .htaccess file is set up, save and exit the file. You must now create the .htpasswd file. To do this you can use the htpasswd program that comes Apache. If you followed the Apache Guide, htpasswd should be located in /usr/local/apache/bin.

<I have this file >

If not you can run updatedb as root and then type locate htpasswd to find it.

To create the initial .htpasswd file you must use the -c flag. As root run:

htpasswd -c /usr/local/apache/htdocs/admin/.htpasswd username

Don't forget to change the directory .htpasswd will be located in.
<my htpasswd is in my /usr/local/apache/bin
<From the command line I run
<httpasswd -c /usr/local/apache/htdocs/admin/.htpasswd username
< where does output of the command go? but to a file name .htpasswd
<in /usr/local/apache/htdocs/admin Yes/No?
<If yes then why am I copying the orginal htpasswd to the new location?

<from this point on in the instructions I'm confused
<can you please clarify
< I want to avoid messing up the default hdpasswd file

thank you
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: 23rd July 2018 - 01:16 AM