Change apache default config
In Unix system for apache have different permissions group. And for this reason, every time I have to change permission. You can easily change some config for this issues. I specifically place all project in the same directory. For this reason, I change some apache config.
- Change apache default user
- CHange apache default path
Enable permalink
Wordpress have pretty permalink features. default it’s disabled.
a2enmod rewrite
sudo gedit /etc/apache2/apache2.conf
And change AllowOverride None
to AllowOverride All
Then Run
service apache2 restart