与apache2和乘客滑轨

问题描述

| 我按照本教程安装rails,安装演示应用程序,并将此行添加到文件sites-available / mysite.com中
...
DocumentRoot /path/mysite.com/public
RailsEnv development
RackEnv development
...
当我尝试连接到网址时
Not Found

The requested URL /rails/info/properties was not found on this server.
    

解决方法

您正在Rails默认index.html页面上单击\“关于您的应用程序的环境\”链接。该链接仅在
development
环境中有效,而在
production
环境中无效。 这个想法是在交付生产之前完全删除“ 4”文件。     

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...