![](/img/trans.png)
[英]Route issue when Deploying angular 6 on aws ec2 ubuntu 16.04
[英]AWS EC2 ubuntu Server permission issue
我使用AWS EC2 instance as file instance
並install ubuntu 14 as os
和apche2 as web server
並運行magento系統
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
文件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
請幫助我。
find
應該是這樣的: find . -type d -exec chmod 755 {} \\;
find . -type d -exec chmod 755 {} \\;
另外,不要在同一個問題中發布多個問題。 為每個問題創建一個單獨的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.