Had this error also.
I'm using OpenShift with 1 gear as my development server. It's some good practice with GIT
I SSH into my server and noticed that /site/assets/cache, logs, and sessions JUST DID NOT EXIST.
Totally weird, right?
Well, not totally.
I had them listed in my .gitignore file. I read elsewhere on the forums that they should be added.
So I had originally created/installed PW on my local machine and when I pushed the master UP, of course, cache logs and sessions didn't work. So I manually recreated them and so far ... yeah, it's working fine.
OH, version 2.4.18 dev.
http://httpd.apache.org/docs/current/mod/core.html#allowoverride
File 'httpd.conf' in this section:
<Directory "/home/*****/www">
...
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
...
</Directory>
Change:
AllowOverride None
To:
AllowOverride All