Find the answer to your Linux question:
Results 1 to 3 of 3
I am runing redhatlinux 9.0 with the included Apache 2.0 under /var/www/html Isnt there an included program for making .htaccess/.htpaswd files for directry protection. Where is it??? I dont want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    19

    Cant find Apaches program for making .htaccess/paswd files


    I am runing redhatlinux 9.0 with the included Apache 2.0 under /var/www/html

    Isnt there an included program for making .htaccess/.htpaswd files for directry protection.


    Where is it???

    I dont want to do it using ftp, or telnet

  2. #2
    Just Joined!
    Join Date
    Mar 2004
    Posts
    30
    I think you may be referring to the directive AllowOverride with the directive type of AuthConfig.

    If so you would do something like:

    <Directory "/usr/local/someWebSite/docs/membersOnly">
    AllowOverride AuthConfig
    Options None
    </Directory>

    Richard

  3. #3
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    answers

    you need to log in to your server. if its not at your desk then ssh or telnet.

    then you use a text editor to make the .htaccess file

    and /usr/bin/htpasswd to create a .htpasswd file.

    is that what you mean?
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •