![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 251 Pomógł: 2 Dołączył: 24.08.2005 Ostrzeżenie: (0%) ![]() ![]() |
Witam, mam pewien problem z wirtualnymi hostami ftp.
Gdy loguje sie na login: test password: test@ ...Apache wybiera pierwszy z gory wirtualny host, dlaczego? ## ftpd.conf Kod <IfModule mod_log_config.c> LogFormat "%u [%a] %r" command_log_fmt LogFormat "%{%b %e %H:%M:%S %Y}t %T %a %B %U %M %F %d %W %u %S %Z %Y" transfer_log_fmt </IfModule> Listen 21 FTPOptions NoUTF8Feature VirtualHostByUser NameVirtualHost *:21 <VirtualHost *:21> FTP On ServerName lunter@127.0.0.1 DocumentRoot "c:/ftpdocs/lunter" <Directory "c:/ftpdocs/lunter"> AuthType basic AuthUserFile "conf/htpasswd_lunter.users" AuthName "FTP Authentication" require valid-user Allow from all </Directory> </VirtualHost> <VirtualHost *:21> FTP On ServerName test@127.0.0.1 DocumentRoot "c:/ftpdocs/test" <Directory "c:/ftpdocs/test"> AuthType basic AuthUserFile "conf/htpasswd_test.users" AuthName "FTP Authentication" require valid-user Allow from all </Directory> </VirtualHost> ## htpasswd_lunter.users Kod lunter:lunter@ ##htpasswd_test.users: Kod test:test@ |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 18:42 |