2014-09-11 47 views
5
ben magento sistemi

AWS EC2 ubuntu Sunucu izin sorunu

Info1 çalışan AWS EC2 instance as file instance ve install ubuntu 14 as os ve apche2 as web server ve kullanıyorum

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

Info2:bir magento sistemi i var

Info3:çalışan htaccess dosyası yok

Issue1: Dosya permission is not work when i am trying using below code step i aşağıda övmek kullanarak dosya ve klasör izni vermek çalıştığınızda bu

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

göster hata göstermiyor :

find: missing argument to '-exec' 

enter image description here

Issue2 : Apache mod rewrite is not working : sudo su -c "a2enmod rewrite" kodunu deneyin ve işe yaradığını kontrol edin. ben bu dosyanın

/etc/apache2/sites-available/000-default.conf 

ve

ServerName server_domain_name_or_IP 
    <Directory /data/> 
     AllowOverride All 
    </Directory> 

ve it site goes to 500 Internal error

Issue3 üzerinde düzenleyebilir.START_PARAGRAPHGoogle:how to enable htacess

bana kimse yardım edin.

cevap

1

find böyle olmalı: Ayrıca find . -type d -exec chmod 755 {} \;

, aynı soruya birden çok sorunları yayınlamayın. Her bir sorun için ayrı bir soru oluşturun.

+0

hey kontrol edeceğim –

İlgili konular