Your best friend for file transfer.

Fetch application logoFetch

.htaccess help (2 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 20 years ago by catch22
  • Latest reply 20 years ago from Jim Matthews
  • catch22 Member

    I am trying to create a .htaccess and .htpasswd file to protect a folder and the files inside of it on my RCN homepage.

    Some background on the site:
    The address to my personal webspace is http://users.rcn.com/crazydv8er
    My provider uses Apache: Apache/1.3.26 Server at users.rcn.com Port 80

    I have a folder on my site labeled "Private" which i would like to have password protected. Inside this folder i have my file ".htaccess" and the contents of that folder are as follows:

    AuthName "Password, bitch!"
    AuthType Basic
    AuthUserFile /users.rcn.com/crazydv8er/.htpasswd
    AuthGroupFile /dev/null

    <limit GET>
    require valid-user
    </limit>

    Now as listed on the AuthUserFile line, my ".htpasswd" file is in the directory "users.rcn.com/crazydv8er". It reads: "guest:p5KRtSaE3Bzws" without the quotes.

    When i attempt to access this folder, i get a login/password prompt as i should, but when i enter my info that i designated in my ".htpasswd" it errors out after 3 attempts. Am i not referencing it correctly? I used a Unix Password Generator from http://www.earthlink.net/cgi-bin/pwgenerator.pl
    Please look at the contents of my 2 files and tell me if i am leaving anything out?

    Also, is there any way i can make an error page of my own? One that looks similar to a 404 Error page but with my own words?

    Please help me anyway possible. My email address is crazydv8er@rcn.com. Thank you.

    Posted 20 years ago #

  • Jim Matthews Administrator

    It looks to me that you're doing everything right (although I should note that someone who cared to could figure out the password from the .htpasswd file contents you posted, so you should probably generate a different password).

    So I would contact RCN and ask them whether they know of any problems with passwords encrypted by the password generator you used, or what password encryption program they would recommend.

    To make your own error page you would put an entry in an .htaccess file that points to your error page. I'd search for htaccess documentation, and/or ask RCN for details.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 20 years ago #

Topic closed

This topic has been closed.