Witam!
Krótko mówiąc nie działa u mnie zabezpieczenie .htaccess.
Mam wykupiony hosting na webd.pl
Wszystkie pliki mam w public_html
Mój .htaccess wygląda tak:
RewriteEngine on
AuthName "Password Protected Directory"
AuthType Basic
AuthUserFile .htpasswd
require valid-user
a .htpasswd tak :
kamil:1$n1CCZuRDaWQ
login : kamil hasło: 1 (do testów)
I te oba pliki są w public_html.
Próbując odpalić stronkę, wpisując NA PEWNO dobre hasło i login wywala mi taki błąd:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Czy wiecie, może w czym problem? Server obsługuje apach'a. Czy trzeba coś ustawić ?
Proszę o pomoc