Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the actions you performed just before this error.More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
w logach apache:
.htaccess: Invalid command '\xef\xbb\xbfRewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
w takim wypadku jeśli wszystko w modyfikowanym htaccess jest w porządku,
można spróbować trzy rzeczy
- prawa dostępu htaccess
- restart apache
- sprawdzić kodowanie pliku htaccess (powinno być utf-8)
W moim wypadku błędem było kodowanie utf-8 z sygnaturą