I am using AWS EC2 instance as file instance and install ubuntu 14 as os and apche2 as web server and running purple system
Info1: i do not create any apache user group from myself.
Info2: Magento System Launch
Info3: I do not have a htaccess file
Problem 1: File permission is not work when i am trying using below code step : When I try to grant file and folder permission using below, refrain, show
sudo find . -type d -exec chmod 775 {} ;
Show error:
find: missing argument to '-exec'

Problem 2: Apache mod rewrite is not working : try the sudo su -c "a2enmod rewrite" code, and to be honest, check sudo su -c "a2enmod rewrite" it works. I have editing in this file
/etc/apache2/sites-available/000-default.conf
and
ServerName server_domain_name_or_IP <Directory /data/> AllowOverride All </Directory>
and it site goes to 500 Internal error
Problem 3: how to enable htacess
Please help me.
source share