2014-09-11 124 views
5

我使用 AWS EC2 instance as file instanceinstall ubuntu 14 as osapche2 as web server运行Magento的系统AWS EC2 Ubuntu服务器权限问题

信息1:i do not create any apache user group from myself.

Info2:运行Magento的系统

Info3:我有没有htaccess文件

Issue1:文件permission is not work when i am trying using below code step: 当我尝试使用下面的赞扬给文件和文件夹的权限它表明

sudo find . -type d -exec chmod 775 {} ; 

显示错误:

find: missing argument to '-exec' 

enter image description here

Issue2 :阿帕奇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

Issue3:how to enable htacess

请帮助我的人。

回答

1

find应该是这样的:find . -type d -exec chmod 755 {} \;

此外,不要在同一个问题发送多个问题。为每个问题创建一个单独的问题。

+0

嘿我会检查 – 2014-09-11 07:28:47