On my hosting I needed add first line : RewriteBase /
until then I get Internal server error too.
More Related Contents:
- Remove .php extension (explicitly written) for friendly URL [closed]
- URL rewrite with .htaccess for wildcard domain
- URL rewriting with PHP
- Force SSL/https using .htaccess and mod_rewrite
- Redirect all to index.php using htaccess
- deny direct access to a folder and file by htaccess
- Htaccess: add/remove trailing slash from URL
- How to check whether mod_rewrite is enable on server?
- URL rewriting : css, js, and images not loading
- .htaccess rewrite GET variables
- No input file specified
- Pretty URLs with .htaccess
- Yii2 htaccess – How to hide frontend/web and backend/web COMPLETELY
- Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
- How can I use .htaccess to hide .php URL extensions?
- mod_rewrite, php and the .htaccess file
- laravel trailing Slashes redirect to localhost
- PHP .htaccess -> pretty url (in reverse)
- How to create clean url using .htaccess
- Permission denied: /var/www/abc/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable?
- Pretty URLs without mod_rewrite, without .htaccess
- .htaccess Redirect non-WWW to WWW preserving URI string
- How can I create friendly URLs with .htaccess?
- How to check if mod_rewrite is enabled in php?
- enable cors in .htaccess
- .htaccess RewriteRule to preserve GET URL parameters
- Increase max execution time for php
- Leverage browser caching for 3rd party JS
- prevent direct url access to php file
- .htaccess – Redirect subdomain to folder