httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48875] New: VirtualHostByUser problem
Date Tue, 09 Mar 2010 10:58:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48875

           Summary: VirtualHostByUser problem
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ftp
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bugzilla33@gmail.com


When you login as
login: test
pass: test@

...apache selects first VirtualHost but is should select second VirtualHost by
user (test).

## ftpd.conf

<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 goorol@127.0.0.1
 DocumentRoot "c:/ftpdocs/goorol"
 <Directory "c:/ftpdocs/goorol">
     AuthType basic
     AuthUserFile "conf/htpasswd_goorol.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_goorol.users
goorol:goorol@


##htpasswd_test.users
test:test@

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message