Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 3 乘客未读取。指定了从文档根目录访问 DocumentRoot/home/fred/aptanastudioworkspace/railsapproot/public ServerName 3strides.localhost 允许超越所有 选项索引-多视图_Ruby On Rails 3_Passenger_Phusion - Fatal编程技术网

Ruby on rails 3 乘客未读取。指定了从文档根目录访问 DocumentRoot/home/fred/aptanastudioworkspace/railsapproot/public ServerName 3strides.localhost 允许超越所有 选项索引-多视图

Ruby on rails 3 乘客未读取。指定了从文档根目录访问 DocumentRoot/home/fred/aptanastudioworkspace/railsapproot/public ServerName 3strides.localhost 允许超越所有 选项索引-多视图,ruby-on-rails-3,passenger,phusion,Ruby On Rails 3,Passenger,Phusion,我得到这个apache错误 (13) 权限被拒绝:/home/fred/aptanastudioworkspace/railsapproot/.htaccesspcfg\u openfile:无法检查htaccess文件,请确保该文件可读 Apache没有访问railsapproot/public来读取.htaccess文件。我在根里找的 当我将.htaccess权限更改为777并复制到railsapproot时,我会遇到类似的错误。通常,当某些子目录上缺少x权限时,我会遇到这种错误。你能检查一

我得到这个apache错误 (13) 权限被拒绝:/home/fred/aptanastudioworkspace/railsapproot/.htaccesspcfg\u openfile:无法检查htaccess文件,请确保该文件可读

Apache没有访问railsapproot/public来读取.htaccess文件。我在根里找的


当我将.htaccess权限更改为777并复制到railsapproot时,我会遇到类似的错误。

通常,当某些子目录上缺少x权限时,我会遇到这种错误。你能检查一下吗?

我花了好几个小时想弄清楚这一点。谢谢你的提示。我终于找到了无法访问的目录。哈利路亚!
<VirtualHost *:80>
 DocumentRoot /home/fred/AptanaStudioWorkspaceSS/railsapproot/public
 ServerName 3strides.localhost
 <Directory /home/fred/AptanaStudioWorkspaceSS/railsapproot/public>
  AllowOverride all
  Options Indexes -MultiViews
 </Directory>
</VirtualHost>