Mam zainstalowany Apache + PHP na ubuntu. Chcę zrobić przepisywanie linków za pomocą .htaccess
/etc/apache2/sites-enabled/000-default
zmienione AllowOverride None na AllowOverride all
Po tych zmianach wyskakuje mi 500 Internal Server Error
Struktura linków wygląda tak:
http://127.0.0.1/piotr/a/index.php?p=precel
http://127.0.0.1/piotr/a/index.php?p=register
.htaccess
RewriteEngine On
Options FollowSymLinks
RewriteRule ^(.*)/?$ http://127.0.0.1/piotr/a/index.php?p=$1 [L]