Apache and mod_rewrite (and .htaccess) in Ubuntu


To enable mod_rewrite in Ubuntu, you just need to write this command in terminal

    sudo a2enmod rewrite

Restart your your apache.

    sudo service apache2 restart


After enabling mod_rewrite you can write .htaccess file for your web application.

Comments

Popular posts from this blog

CakePHP 4: Firebase Cloud Messaging Component in CakePHP for Push Notification

CakePHP 4 : Using Component inside Command ( Shell )

CakePHP: COUNT data and GROUP BY date