문제

When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/.

Apart from choosing a proper host..there's any workaround?

thanks

Luca

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top