1
我使用的是Rails 3.1.3,Ruby 1.9.2,Passenger 3.0.11,Apache2 2.2.14,CarrierWave 0.5.8和Ubuntu 10.04。Apache2/Passenger生产中CarrierWave的什么文件权限或配置?
此应用程序的用户正在上传图像到目录“TheApplication/public/uploads/image”和“TheApplication/public/uploads/thumbnail”。为了这个应用程序正确和安全地上传图像,我应该设置什么目录/文件权限以及我需要设置哪些应用程序配置?我是否需要对Passenger或Apache2进行任何配置?
谢谢。