The MU forums have moved to WordPress.org

Can't write to .htaccess (2 posts)

  1. terryheath
    Member
    Posted 19 years ago #

    Hello,

    I got this message when I tried to install:

    ERROR: could not open .htaccess for writing

    htaccess.dist
    uid/gid: 32327/32328
    size: 456
    perms: 0777
    readable: yes
    writeable: yes

    .htaccess
    uid/gid: 32327/32328
    size: 358
    perms: 0777
    readable: yes
    writeable: yes

    As you can see, the CHMOD is 777 on both files. I have the public_html folder set at 777 too.

    After that, the instructions state:

    If all else fails then you'll have to create it by hand:

    Download htaccess.dist to your computer and open it in your favourite text editor.
    Replace the following text:
    BASE by ''
    HOST by ''
    Rename htaccess.dist to .htaccess and upload it back to the same directory.

    BUT there is no text BASE or HOST and if there were, what do I replace it with?

    The installation abondoned, and when I tried editing the .htaccess and uploading it through ftp (my config file was already edited by the failed installation) I got the message:

    No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.

    I HAD a working installation until I had my webhost change my primary domain, which I did because I couldn't setup WPMU in a subdomain and get it to create subdomains.

    Any ideas?

  2. nexia
    Member
    Posted 19 years ago #

    .HTACCESS have to be chmod: 0644, not 0777...

    if you want to re-install, delete the new config.php file that was created first... it prevent the install to start over

    and the htaccess.dist have to be chmod standard, it's your public_html directory that needs to be chmod 0777

About this Topic

  • Started 19 years ago by terryheath
  • Latest reply from nexia