0

Wordpress creates the .htaccess file with 600 file permissions (when permalinks are configured, etc.). I had to give it 655 before SuPHP would allow the homepage to load. I thought any files should be read as the user with SuPHP so I'm a bit puzzled here. I'm trying to replicate a shared hosting environment so non-developers and setup CMS'es without difficulty so this is a showstopper for me. Thanks for any help!

jmotes
  • 101
  • 1

1 Answers1

0

You need to chmod .htaccess to 755 in order for it to work, otherwise you will still experience this issue. If you need to do that automatically for files created by apache, please check the next link:
https://stackoverflow.com/questions/428416/setting-the-umask-of-the-apache-user

Logic Wreck
  • 1,428
  • 9
  • 8
  • Obviously asking a non-dev to chmod their files won't help me. I've read a bit about masks. Can I configure one so that files created by the webserver are given 755 permissions by default? – jmotes Sep 10 '12 at 16:08
  • I've added a comment. Please check if that helps. – Logic Wreck Sep 10 '12 at 16:11