Witam
Mam działający smile.gif .htaccess w który wygląda tak:
Kod
RewriteEngine on
DirectoryIndex index.php
RewriteBase /users/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/?$ index.php?id=$1&sub=$2 [L]
RewriteRule ^([a-zA-Z0-9_-]+)/?$ index.php?id=$1 [L]

Ale chciałem dołożyć możliwość kodowania nawiasów ")(" i tutaj poległem.
Zrobiłem taką regułę
Kod
RewriteRule ^([a-zA-Z0-9_-\(\)]+)/?$ index.php?id=$1 [L]

czyli jak radzi manual poprzedziłem znak specjalny "\".
Apache tego nie rozumie i pisze do mnie:
Kod
Internal Server Error

Gdzie jest błąd?
Dodam jeszcze że nie chcę wstawiać (.*) i dlatego wypisuje całą galanterię [a-zA-Z0-9_-]