lively Posted August 6, 2017 Share Posted August 6, 2017 Hallo Forum :-) Versuche erfolglos eine .htaccess im Froxlor-Ordner {/var/www/froxlor] zu aktivieren. Meine IP wird auf https://froxlor.Domain.foo weitergeleitet. Habe eine .htaccess und .htpasswd in /var/www/froxlor angelegt, aber ohne Effekt. Was mache ich falsch? In Froxlor selbst kann ich den Pfad nicht schützen, da das Froxlor-Verzeichnis keinem "Kunden" zugeordnet ist. Bin für jeden Tipp dankbar. Gruß Lively Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2017 Share Posted August 6, 2017 Schau halt Mal in die Apache error Log wieso da was nicht geht, bzw. zeig die htaccess Inhalte Mal damit wir sehen können was du da versuchst Link to comment Share on other sites More sharing options...
lively Posted August 6, 2017 Author Share Posted August 6, 2017 Meine .htaccess: ------------------------------------------------------------------------- <Files ~ "^\.(htaccess|htpasswd)$"> deny from all </Files> Options Indexes AuthUserFile /var/www/froxlor/.htpasswd AuthGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-user order deny,allow ------------------------------------------------------------------------- .htpasswd: bla:blub ------------------------------------------------------------------------- froxlor.meine_Domain.de:443 192.168.2.11 - - [06/Aug/2017:12:27:26 +0200] "GET / HTTP/1.1" 200 5889 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0" IP & Domain-Name "geändert" Habe ansonsten keinerlei Einträge in irgend welchen Logs gefunden ( ll | grep Std:Min) Gruß Lively Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2017 Share Posted August 6, 2017 2 minutes ago, lively said: order deny,allow sicher das du noch apache-2.2 hast? Ansonsten schau halt das du "AllowOverride" nicht auf "none" stehen hast für den Ordner /var/www/froxlor Link to comment Share on other sites More sharing options...
lively Posted August 6, 2017 Author Share Posted August 6, 2017 Habe Apache 2.4, ganz sicher. Wie kommst Du darauf mit 2.2? Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2017 Share Posted August 6, 2017 9 minutes ago, d00p said: order deny,allow Na deswegen, das ist apache-2.2 syntax 2.2 configuration: Order deny,allow Deny from all 2.4 configuration: Require all denied Quelle: https://httpd.apache.org/docs/2.4/upgrading.html Link to comment Share on other sites More sharing options...
Question
lively
Hallo Forum :-)
Versuche erfolglos eine .htaccess im Froxlor-Ordner {/var/www/froxlor] zu aktivieren.
Meine IP wird auf https://froxlor.Domain.foo weitergeleitet.
Habe eine .htaccess und .htpasswd in /var/www/froxlor angelegt, aber ohne Effekt. Was mache ich falsch?
In Froxlor selbst kann ich den Pfad nicht schützen, da das Froxlor-Verzeichnis keinem "Kunden" zugeordnet ist.
Bin für jeden Tipp dankbar.
Gruß
Lively
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.