Re: [SLE] .htaccess in 8.2 pro

From: Rikard Johnels (rikjoh_at_norweb.se)
Date: 08/11/03

  • Next message: Jerome Lyles: "Re: [SLE] Apt-get"
    To: suse-linux-e@suse.com
    Date: Mon, 11 Aug 2003 13:00:38 +0200
    
    

    On Monday 11 August 2003 06.09, Count Schemula wrote:
    > Hey,
    >
    > I just spent hours, and can't get .htaccess to work with apache.
    >
    > Does it work in 8.2? I remember there used to be a work around for a
    > module error in 7.3. I got stung by that one too!
    >
    > It seems to work, until the end, where it just won't validate the user,
    > even though the user in in the password file.
    >
    > thanks!
    >
    >
    > =====
    > Count Schemula
    >
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! SiteBuilder - Free, easy-to-use web site design software
    > http://sitebuilder.yahoo.com

    Did you check the httpd.conf file for "AllowOverride"?
    --snip--
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
        AllowOverride None
                              ^^^= Says you arent to use .htaccess files

    Change it to suit your taste.
    I have it enabled only in one specific users folder, but turned off allwhere
    else.

    -- 
             /Rikard
    ------------------------------------------------------------------------------------
    Rikard Johnels          email   : rikjoh@norweb.se
                            Web     : http://www.rikjoh.com
                            Mob     : +46 70 464 99 39
    ------------------------ Public PGP fingerprint ----------------------------
    < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Jerome Lyles: "Re: [SLE] Apt-get"

    Relevant Pages

    • Re: PHP Authenticate, then allow file access (centos)
      ... maintenance headache if you use a database to store your users instead of a password file. ... A database might still be the best choice. ... security necessarily figures into the decision. ... And while .htaccess can protect a file from being downloaded, it also depends on the .htaccess and Apache configuration being set up correctly. ...
      (comp.lang.php)
    • Re: Hiding directory contents from HTTP
      ... >> He could probably use .htaccess and htpasswd if he has shell access to ... not a file that you would ftp up. ... password file where it cannot be accessed by browsers. ...
      (comp.os.linux.security)