Bug in neuer Firmware 109+ 3.1 1742 .htaccess require valid-user geht nicht mehr

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.
Hat sich die Version des Apache geändert oder fehlen dem Apache Module (eventuell welche, die man einfach hinzuladen kann)?

Itari
 
Da reicht wohl mein Wissen nicht ganz oder kannst du mir ein paar Zeilen grobe Anleitung schreiben ?
 
Rich (BBCode):
Syno login: root
Password:


BusyBox v1.16.1 (2011-04-22 04:46:00 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Syno> httpd -v
Server version: Apache/2.2.11 (Unix)
Server built:   Dec 20 2008 21:13:08

und

Rich (BBCode):
Syno> httpd -t -D DUMP_MODULES 2>&1 | grep auth
 authn_file_module (shared)
 authn_dbm_module (shared)
 authn_anon_module (shared)
 authn_dbd_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_dbm_module (shared)
 authz_owner_module (shared)
 authz_default_module (shared)
 auth_basic_module (shared)
 auth_digest_module (shared)

Itari
 
login as: root
root@192.168.178.3's password:


BusyBox v1.16.1 (2011-06-07 14:06:37 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

S109> httpd -v
-ash: httpd: not found

S109> httpd -t -D DUMP_MODULES 2>&1 | grep auth
S109>



Da scheint wohl was nicht zu stimmen oder ?
 
Ok ... ich hatte den falschen Webserver erwischt. Hier jetzt der richtige:

Rich (BBCode):
Syno> /usr/syno/apache/bin/httpd -v
Server version: Apache/2.2.16 (Unix)
Server built:   Apr 18 2011 09:45:30
Syno> /usr/syno/apache/bin/httpd -t -D DUMP_MODULES 2>&1 | grep auth
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)

Itari
 
S109> /usr/syno/apache/bin/httpd -v
Server version: Apache/2.2.17 (Unix)
Server built: Jun 1 2011 10:54:19


S109> /usr/syno/apache/bin/httpd -t -D DUMP_MODULES 2>&1 | grep auth
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
S109>
 
@hagncola
Macht es einen Unterschied ob du valid-user oder explizit einen User angibst? Wäre gut zu wissen ob es grundsätzlich ned geht oder nur mit der Wert valid-user Probleme macht.
 
kein Unterschied. Nur ein # um das ganze "abzuschalten" hilft dann läuft alles (bis auf die Passwortabfrage) normal.
 
auch dieses Verhalten aus dem engl. Forum kann ich bestätigen:

The following happens, when I try to access the files with my browser:

http://diskstation/ --> no request for authorisation, results in a 404 error (file not found)
http://diskstation/index.html --> no request for authorisation, results in a 404 error (file not found)
http://diskstation/test.html --> no request for authorisation, file is shown (as expected)
http://diskstation/test/ --> request for authorisaton, file index.html is shown after providing the credentials (as expected)
http://diskstation/test/index.html --> request for authorisaton, file index.html is shown after providing the credentials (as expected)
http://diskstation/test --> no request for authorisation, results in a 404 error (file not found)

If I remove the "Required valid-user" statement from the .htaccess file, the behaviour returns to normal, meaning that accessing http://diskstation/ no longer results in a 404 error but properly shows the index.html file.
 
Hab es jetzt nicht ausprobiert bzw. gecheckt, aber ich bin der Meinung, dass man das auth_digest_module braucht ... vielleicht hat ja jemand seine auth noch funktionieren und kann gerade nachschauen, ob dieses Modul bei ihm aktiv ist. Ändern (entkommentieren) in der /usr/syno/apache/conf/httpd.conf-user.

Itari
 
Ich hab die beta noch drauf falls du das meinst und dort wird auth_digest_module auch nicht geladen.
Ausgabe:
Rich (BBCode):
DiskStation> /usr/syno/apache/bin/httpd -t -D DUMP_MODULES 2>&1 | grep auth
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
MfG Matthieu
 
auch mit der 1742-Version???

Itari
 
Bei der Beta und den Versionen davor hatte ich auch kein Problem, erst seit der 1742.
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat