0

当您将 Zend Framework 网站部署到共享主机时,通常无法将 DocumentRoot 更改为指向网站的 public/ 文件夹。因此,该网站的 URL 现在是http://www.example.com/public/

除了选择合适的主机..还有什么解决方法吗?

谢谢

卢卡

4

1 回答 1

2

If you have access to directories above public, you can put all non public files there. Otherwise, you can put everything in a subdirectory, and block access to it with an .htaccess file.

于 2011-10-18T11:05:46.350 回答