【发布时间】:2014-11-04 22:29:03
【问题描述】:
我正在使用
AWS EC2 instance as file instance and install ubuntu 14 as os and apche2 as web server and running magento system
Info1:i do not create any apache user group from myself.
Info2:运行一个magento系统
Info3: 我没有 htaccess 文件
问题 1: 文件 permission is not work when i am trying using below code step:
当我尝试使用以下推荐授予文件和文件夹权限时,它会显示
sudo find . -type d -exec chmod 775 {} ;
显示错误:
find: missing argument to '-exec'
问题 2: Apache mod rewrite is not working:
试试代码sudo su -c "a2enmod rewrite" 并通过推荐检查它是否有效。
我对此文件进行了编辑
/etc/apache2/sites-available/000-default.conf
和
ServerName server_domain_name_or_IP
<Directory /data/>
AllowOverride All
</Directory>
和it site goes to 500 Internal error
问题3: how to enable htacess
请任何人帮助我。
【问题讨论】:
标签: .htaccess ubuntu redirect amazon-web-services amazon-ec2