Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Is the .htaccess file writeable? error

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2386 Views
  • CC
    Avatar
    Community Member
    4 Posts

    Is the .htaccess file writeable? error Link to this post

    Hi,

    I get the following error when trying to install SS.

    User 'apache' needs to write be able to write to this file:
    /var/www/vhosts/fuzetesting.co.uk/subdomains/silverstripe/httpdocs/.htaccess

    When I check the uploaded files .htaccess is not there.
    If I try to upload again nothing happens.
    Also the .htaccess file appears to be empty at only 0KB

    Can anyone help?

    Thanks.

  • simon_w
    Avatar
    Forum Moderator
    471 Posts

    Re: Is the .htaccess file writeable? error Link to this post

    .htaccess is an invisible file.

    The file size doesn't matter, the server just needs write access to it.

  • CC
    Avatar
    Community Member
    4 Posts

    Re: Is the .htaccess file writeable? error Link to this post

    How can I change the write access on a file I can not see?

  • simon_w
    Avatar
    Forum Moderator
    471 Posts

    Re: Is the .htaccess file writeable? error Link to this post

    If you have SSH access, you can use chmod on the file.

    Otherwise, your upload programme probably has an option to view invisible files.

  • CC
    Avatar
    Community Member
    4 Posts

    Re: Is the .htaccess file writeable? error Link to this post

    Many thanks for your help

  • darkowl
    Avatar
    Community Member
    12 Posts

    Re: Is the .htaccess file writeable? error Link to this post

    If you have an FTP client, get it to pass the global command -al on the end of its LIST commands, that shows "hidden" files.

    2386 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.