[mod_ftp] accessing root path with firefox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

there seems to be a problem, if I try to access "ftp://localhost/"; with firefox. Access is not not possible. Instead Apache is trying to serve an index document (DirectoryIndex) or if enabled an autoindex (Options Indexes).

e.g. without mod_autoindex and "DirectoryIndex none" the error in "ftp_error.log" is:
| [Tue Feb 08 16:58:42 2011] [error] [client ::1] \
|      Attempt to serve directory: C:/Users/Public/Downloads/


command.log:
| - [::1] USER anonymous
| anonymous [::1] PASS xxx
| anonymous [::1] SYST
| anonymous [::1] PWD
| anonymous [::1] TYPE I
| anonymous [::1] EPSV
| anonymous [::1] SIZE /
| anonymous [::1] MDTM /
| anonymous [::1] RETR /
| anonymous [::1] EPSV
| anonymous [::1] CWD /

The same in a subdir "ftp://localhost/test/"; is working:
| - [::1] USER anonymous
| anonymous [::1] PASS xxx
| anonymous [::1] SYST
| anonymous [::1] PWD
| anonymous [::1] TYPE I
| anonymous [::1] EPSV
| anonymous [::1] SIZE /test/
| anonymous [::1] MDTM /test/
| anonymous [::1] RETR /test/
| anonymous [::1] EPSV
| anonymous [::1] CWD /test/
| anonymous [::1] LIST

With e.g. Internet Explorer it's every time working:
| - [::1] USER anonymous
| anonymous [::1] PASS xxx
| anonymous [::1] CWD /
| anonymous [::1] TYPE A
| anonymous [::1] EPSV
| anonymous [::1] LIST
| - [::1] USER anonymous
| anonymous [::1] PASS xxx
| anonymous [::1] CWD /test/
| anonymous [::1] TYPE A
| anonymous [::1] EPSV
| anonymous [::1] LIST


BTW:
in the sample configuration file "ftpd.log", there is an error in the transfer log LogFormat:
| LogFormat    "%{%b %e %H:%M:%S %Y}t ...

should be:
| LogFormat    "%{%a %b %e %H:%M:%S %Y}t ...


System:
Windows 7
Apache/2.2.17 (Win32) mod_ftp/0.9.6
Firefox 3.6.13

Regards,
Carsten


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux