OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Thomas Lamy (Thomas.Lamynetwake.de)
Date: Fri Sep 28 2001 - 00:52:11 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Make sure you have something like

    <Directory /home/*/public_html>
    AllowOverride AuthConfig
    .....
    </Directory>

    in your httpd.conf, otherwise .htaccess files get ignored.

    Thomas

    -----Ursprüngliche Nachricht-----
    Von: Fluffy Bananachunks [mailto:suse.announcebananachunks.org]
    Gesendet: Freitag, 28. September 2001 04:08
    An: suse-securitysuse.com
    Betreff: [suse-security] Can't seem to get .htpasswd to work =(

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Bah! For the life of me, I can not get .htpasswd/.htaccess to work on my
    SuSE7.2 ( Apache/1.3.19 (Unix) (SuSE/Linux) mod_layout/1.0 mod_throttle/3.0

    mod_fastcgi/2.2.2 mod_ssl/2.8.3 OpenSSL/0.9.6a mod_perl/1.25 mod_dtcl
    PHP/4.0.5 ).

    I have everything (that I know to set up, anyway) set up as:

    ###########################################################

    meme:~/public_html

    - -rw-r--r-- 1 me me 209 Sep 27 21:27 .htaccess
    - -rw-r--r-- 1 me me 13 Sep 27 21:28 /home/me/.htgroup
    - -rw-r--r-- 1 me me 20 Sep 27 21:32 /home/me/.htpasswd

    /home/me/public_html/.htaccess:

    AuthName "Restricted"
    AuthType Basic
    AuthUserFile /home/me/.htpasswd
    AuthGroupFile /home/me/.htgroup
    <Limit GET POST>
    Require group chunks
    </Limit>

    /home/me/.htpasswd:

    test:VJdx0yi1Y3LKc
    {blank line as suggested on one site; also tried without}

    /home/me/.htgroup:

    chunks: test

    ############################################################

    I've tried by group, user, "valid-user", with and without "Limit" in
    .htaccess, with and without a group (left off and /dev/null) .... The
    'password box' always comes up, but no matter what, does not authorize me.

    Anyone have any insight as to what I'm skipping or missing here?

    TIA
    Geo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: For info see http://www.gnupg.org

    iD8DBQE7s9t5o2oOGEnz8fYRAkFeAJ9eP/osgicxUvmQ3TxgUzDA2QeSVgCcC8yU
    voBtQ9LRKLAqPF17kJeskrA=
    =dGgz
    -----END PGP SIGNATURE-----

    -- 
    To unsubscribe, e-mail: suse-security-unsubscribesuse.com
    For additional commands, e-mail: suse-security-helpsuse.com
    

    -- To unsubscribe, e-mail: suse-security-unsubscribesuse.com For additional commands, e-mail: suse-security-helpsuse.com