After installing php5-fpm it was not working, To resolved I disabled mpm_prefork and mpm_event. This resolved the problem a2dismod mpm_prefork a2enmod mpm_prefork
This is globally controlled by apache, or locally controlled by your .htaccess file (which basically changes the local apache configurations on local folders). Just add the following code to your .haccess file and adjust as per your requirements RewriteBase / […]
This is accomplished by adding some directives on the .htaccess. The first step is to enable the .htaccess in your directory, this needs to be enables in /etc/apache2/apache2.conf CHANGE <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted […]