Results 1 to 4 of 4

Thread: Problem with .htaccess on Mac OS X

  1. #1
    Join Date
    Jul 2009
    Posts
    123

    Problem with .htaccess on Mac OS X

    Hi,

    I have already searched several forums and have made several posts, but so far nobody could help me with my problem. I have tried several times the files .Htaccess and.Htusers checked and it is described as everything in it, as in all manuals.

    According to the error_log the password to user is not correct. For this reason, I have created several users, and also tested different types of passwords. A user has an unencrypted password, another user has encrypted using md5 and over again is the same error in the error_log. Who can solve my .htaccess in Mac OS X.

    Someone has already had experience this?

  2. #2
    Join Date
    May 2008
    Posts
    686

    Re: Problem with .htaccess on Mac OS X

    The Apache web server allows either encrypted passwords (for Windows), or encoded by the methods Crypt or MD5 (all platforms including Windows). On the side of the citation, you also find a little form to allow encrypt a "test password" via Crypt.

  3. #3
    Join Date
    Dec 2007
    Posts
    845

    Re: Problem with .htaccess on Mac OS X

    Instead of using the XAMPP for OSX, you try with a well-functioning Apache server, which, incidentally, never made problems. And even if one does not want MAMP is still a better solution:

    All this would be much easier than this ominous problem to debug, to which we NetSprint is not even the actual error message or views an information of "httpd-t" (of course, the XAMPP and not OSX) or 'httpd-e debug. "

  4. #4
    Join Date
    May 2008
    Posts
    297

    Re: Problem with .htaccess on Mac OS X

    You just try the following things:

    . htaccess file
    Code:
    AuthName "Enter your password ... blah" 
    AuthType Basic 
    AuthUserFile / path-to-htusers / 
    Order deny, allow 
    Allow from all <- If it is to be achieved from all networks 
    <Limit GET> 
    require valid-user 
    </ Limit> 
    php_flag register_globals off
    If you are using XAMPP, then you can look at what the encryption is concerned (md5 checksum) to output board means with: (see Besp)

    Code:
    - / Lampp / bin / htpasswd-n-m user 
    - Enter password and confirm (in this Example is the password: password
    )

    Issue:
    Code:
    user: $ apr1 $ 89UE3TaW $ rxTzMfa6P5gNBeRyLcaGW0
    Copy the Htuser file and then it should go really well alread

Similar Threads

  1. .htaccess with a session duration
    By Jaxine in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 08:28 PM
  2. How to use .htaccess file
    By Antarjot in forum Operating Systems
    Replies: 3
    Last Post: 09-12-2009, 01:40 PM
  3. Problem with upload_max_filesize with .htaccess
    By Bhagesh in forum Software Development
    Replies: 2
    Last Post: 29-05-2009, 05:16 PM
  4. .htaccess and error 403
    By CitricAcid in forum Software Development
    Replies: 4
    Last Post: 27-04-2009, 12:24 PM
  5. .Htaccess problem
    By Jasonholt in forum Software Development
    Replies: 3
    Last Post: 06-04-2009, 09:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,078,952.95515 seconds with 16 queries