Node.js 为什么Apache不能识别我的.htaccess文件中的乘客配置?

Node.js 为什么Apache不能识别我的.htaccess文件中的乘客配置?,node.js,apache,.htaccess,Node.js,Apache,.htaccess,我想开始通过节点应用程序来引导流量,而不是简单地提供静态文件 根据VPS提供商的建议,我在网站的public_html/.htaccess中添加了以下内容: 但是浏览器正在抛出内部服务器错误。错误日志显示以下内容: [Mon Oct 13 21:11:07 2014] [alert] [client 54.176.38.134] /home/devbryce/public_html/.htaccess: Invalid command 'PassengerAppRoot', perhaps mi

我想开始通过节点应用程序来引导流量,而不是简单地提供静态文件

根据VPS提供商的建议,我在网站的public_html/.htaccess中添加了以下内容:

但是浏览器正在抛出内部服务器错误。错误日志显示以下内容:

[Mon Oct 13 21:11:07 2014] [alert] [client 54.176.38.134] /home/devbryce/public_html/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration

[Mon Oct 13 21:16:57 2014] [alert] [client 54.237.229.212] /home/devbryce/public_html/.htaccess: Invalid command 'PassengerEnabled', perhaps misspelled or defined by a module not included in the server configuration
似乎与乘客有关的东西没有正确进口。但我不确定这是什么,也不确定我将如何导入它


想法?

看起来您的VPS提供商没有安装apache的乘客模块

[Mon Oct 13 21:11:07 2014] [alert] [client 54.176.38.134] /home/devbryce/public_html/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration

[Mon Oct 13 21:16:57 2014] [alert] [client 54.237.229.212] /home/devbryce/public_html/.htaccess: Invalid command 'PassengerEnabled', perhaps misspelled or defined by a module not included in the server configuration