PHP samt Htaccess url_rewriting hjælp
Hej alle.Jeg har et problem med at få mit url-rewriting til at virke:
Min url ser i øjeblikket således ud:
http://localhost/carfun/forum/kategori/traad/?thread_id=30
- Når denne url loades åbnes der en .index fil i /traad/ mappen, og denne henter så info omkring forum tråden via $_GET=thread_id
Min mening er at få url'en til at se pænere ud:
http://localhost/carfun/forum/kategori/traad/30/
Jeg har prøvet med:
RewriteEngine on
RewriteRule ^/carfun/forum/kategori/traad/([0-9]+)/$ /carfun/forum/kategori/traad/?thread_id=$1
men det giver flg. fejl når jeg ser en side:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Hvad gør jeg galt? På forhånd tak :)
