Internal Server Error with Htaccess file

0
Everything started when I moved from EasyPHP to VertrigoServ, the .htaccess file worked perfectly in EasyPHP, but here I am encountering these problems ... I have no idea how to resolve this ...

HTACCESS

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

Response:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
    
asked by anonymous 17.03.2016 / 04:21

1 answer

-1

If this makes the error disappear, your REWRITE module is not enabled.

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

Activate the module according to the instructions of your server.

    
18.03.2016 / 03:18