I am trying to rewrite the url using the following rule:
RewriteRule ^([^/]*)$ /curation.php?id=$1 [L]
and this is the .htaccess file I created:
RewriteEngine On RewriteRule ^([^/]*)$ /curation.php?id=$1 [L]
but when I click it on my Heroku server, I get 500 Internal Server Error on all pages. What am I doing wrong?
thanks
php apache .htaccess mod-rewrite heroku
Taimur
source share