Your best friend for file transfer.

Fetch application logoFetch

uploading .htaccess file (4 posts)

  • Started 9 years ago by sbmorton
  • Latest reply 9 years ago from Jim Matthews
  • sbmorton Member

    Hello,
    I have a .htaccess file in my web directory and I would like to make some changes to it and upload a new version. I have already made the changes and tried to upload it in Fetch. It uploaded, but my whole website got an error from the new .htaccess file. I read online that an .htaccess file should be uploaded in ASCII Mode or CHMOD 644 or (Rw-R--R--) . How can I set Fetch to these modes?
    I had it set to text mode when I put the new file up.

    Would using the wrong mode create this error?

    Thank you for your help.

    Posted 9 years ago #

  • Jim Matthews Administrator

    To upload in ASCII mode set the Format menu to Text when you upload (it sounds like you already did that).

    To set the permssions of a file to 644 in Fetch 5, select the file and click Get Info, then open the Ownership and Permissions tab and set the permission value to 644.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • dmf Member

    Hi, maybe you can help me. it is kind of off your original question, but can you tell me how to create the .htaccess and htpasswd file? Thanks in advance.

    Posted 9 years ago #

  • Jim Matthews Administrator

    The Apache group has a tutorial on .htaccess files here:

    http://httpd.apache.org/docs/howto/htaccess.html

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.