My server is currently hosting a php site. This site uses ssl for certain pages already. Now I am transitioning over to rails, and all my new rails apps go into a subfolder. Passenger is setup and and my app works great. One problem, If i try to go to these pages using ssl, I get a 404 error. Apparently apache is looking for the literal folder instead of handing it off to Passenger as it normally does. What am I missing?
我的服务器目前正在托管一个php网站。此站点已经为某些页面使用ssl。现在我正在转换到rails,所有我的新rails应用程序都进入子文件夹。乘客安装,我的应用程序工作得很好。一个问题,如果我尝试使用ssl转到这些页面,我会收到404错误。显然apache正在寻找文字文件夹,而不是像通常那样将其交给Passenger。我错过了什么?
1 个解决方案
#1
Apache for the SSL (port 443) site is probably not set up for Passenger in the same way as for the "normal" (port 80) site.
用于SSL(端口443)站点的Apache可能不像Passenger那样以“普通”(端口80)站点的方式设置。
#1
Apache for the SSL (port 443) site is probably not set up for Passenger in the same way as for the "normal" (port 80) site.
用于SSL(端口443)站点的Apache可能不像Passenger那样以“普通”(端口80)站点的方式设置。