我刚刚在 Amazon EC2 AMI Linux 上设置了 symfony 1.4。
每件事似乎都配置得很好,但是当我打开默认的 h*tp://ec2-xxxxxxx-.amazonaws.com/ URL 时,它显示给我401 | Unauthorized | InvalidArgumentException
,错误是:
Unable to load "cacheHelper.php" helper in: SF_ROOT_DIR/apps/frontend/lib/helper, SF_ROOT_DIR/lib/helper, SF_ROOT_DIR/lib/vendor/symfony/lib/helper.
任何帮助表示赞赏。
<VirtualHost *:80>
ServerName ec2-184-73-90-216.compute-1.amazonaws.com
DocumentRoot "/var/www/html/project/web"
DirectoryIndex index.php
<Directory "/var/www/html/project/web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>