also ich muss ja 2 Dateien erstellen, die .htaccess und die .htpasswd
- Code: Select all
HTACCESS FILE:
AuthType Basic
AuthName Passwortgeschützter Bereich
AuthUserFile [color=red]??????????????????????[/color].htpasswd
require valid-user
und
- Code: Select all
HTPASSWD FILE:
Jakob:Jakob
was muss ich bei den ???? eingeben ? ich habs schon mit C:\webserver\xampp\htdocs\.htpasswd probiert aber das geht nicht, ich hab die \ auch schon in / umgewandelt hat auch nicht funktioniert.
da kommt immer die meldung :
- Code: Select all
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.
Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7c PHP/5.0.4 Server at jagi.no-ip.info Port 80
Falls es wichtig ist der pfad zum htdocs ordner ist
- Code: Select all
C:\wevserver\xampp\htdocs\