Portál AbcLinuxu, 3. května 2025 18:56

Dotaz: WebDAV alebo Apache autentifikacia nefunguje

13.8.2020 08:54 maros
WebDAV alebo Apache autentifikacia nefunguje
Přečteno: 238×
Odpovědět | Admin
Apache 2.4
apache2ctl configtest
Syntax OK
apache2ctl -t -D DUMP_VHOSTS
VirtualHost configuration:
*:443                  xxx.yyy.zzz (/etc/apache2/sites-enabled/default-ssl.conf:2)
/etc/apache2/sites-enabled/webdav.conf
Alias /webdav "/srv/www/dav"

[Location /webdav]
    DAV On
    SSLRequireSSL
    AuthType Basic
    AuthName WebDAV
    AuthUserFile /etc/apache2/.htpasswd
    [RequireAny]
        Require method GET POST OPTIONS
        Require valid-user
    [RequireAny]
[/Location]
apache2ctl -t -D DUMP_MODULES

Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 dav_module (shared)
 dav_fs_module (shared)
 dav_lock_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 headers_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 perl_module (shared)
 php7_module (shared)
 proxy_module (shared)
 proxy_fcgi_module (shared)
 reqtimeout_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)
Pri pristupe cez prehliadac na https://IP_ADRESA/webdav sa dostanem priamo k suborom bez overovania.
WEBDAV lokaciu si vsak neviem pridat do Windows.
Cadaver priamo na serveri pri pristupe na https://IP_ADRESA/webdav vyzaduje overenie.
V com moze byt problem?

Řešení dotazu:


Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

13.8.2020 09:39 X
Rozbalit Rozbalit vše Re: WebDAV alebo Apache autentifikacia nefunguje
Odpovědět | | Sbalit | Link | Blokovat | Admin
V logu to vypada jak?
13.8.2020 11:34 ET
Rozbalit Rozbalit vše Re: WebDAV alebo Apache autentifikacia nefunguje
Odpovědět | | Sbalit | Link | Blokovat | Admin
zmen RequireAny na RequireAll
13.8.2020 11:45 maros
Rozbalit Rozbalit vše Re: WebDAV alebo Apache autentifikacia nefunguje
Bingo!

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.