Marc Condon
Marc Condon

Reputation: 431

Passenger not reading .htaccess from Document Root specified

<VirtualHost *:80>
 DocumentRoot /home/fred/AptanaStudioWorkspaceSS/railsapproot/public
 ServerName 3strides.localhost
 <Directory /home/fred/AptanaStudioWorkspaceSS/railsapproot/public>
  AllowOverride all
  Options Indexes -MultiViews
 </Directory>
</VirtualHost>

I get this apache error (13)Permission denied: /home/fred/AptanaStudioWorkspaceSS/railsapproot/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Apache did not visit railsapproot/public to read the .htaccess file. I looked for it in railsapproot

When I change .htaccess permissions to 777 and copy to railsapproot I get similar errors.

Upvotes: 0

Views: 1051

Answers (1)

moritz
moritz

Reputation: 25757

Usually, I get this when the x-permission is missing on some subdirectory. Can you check that?

Upvotes: 1

Related Questions