Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed. The Apache error log may have more information....fail!
Ubuntu - Apache2 error
If you are getting this error, it means you have used rewrite engine in your script but rewrite module is disabled right now.
To solve this error, just enable the rewrite module.
If you are using ubuntu - apache2, run this command in terminal
If you are getting this error in RHEL/CentOS or in LAMPP, click here.
Action 'configtest' failed. The Apache error log may have more information....fail!
Ubuntu - Apache2 error
If you are getting this error, it means you have used rewrite engine in your script but rewrite module is disabled right now.
To solve this error, just enable the rewrite module.
If you are using ubuntu - apache2, run this command in terminal
Now try again.# sudo a2enmod rewrite # service apache2 restart
If you are getting this error in RHEL/CentOS or in LAMPP, click here.