Re: Download files through web browser
Rick Warner <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <Pine.LNX.4.44.0304041246580.1747-100000@aligote.inviosoftware.com> |
On Fri, 4 Apr 2003, HL wrote: > > Other directories need execute permissions in order to access on apache via > website. > > When I input path like ftp://ftp.mydomain.com/download , I got same error > like The URL you are giving, ftp://ftp.mydomain.com/blah/blah ... assumes that you are running an anonymous FTP server. Forget Apache, apache user, and all that. I assume you have anonymous ftp setup correctly. Anon. FTP runs chroot'ed and the path will be relative to the home directory of the anon FTP user and will need to be readable by the anon FTP user. So, make sure that anon ftp is running, that 'download' is in the home dir of the anon ftp user (usually ftp), that download is readable by the anon ftp user, and, if it is a directory, that the execute bit is set on download for whatever permission group the anon ftp user is in (owner, group, or world). Before testing the URL with a web browser, try a command line FTP to the machine and login as anonymous; see if you can get to download. If you cannot, the URL will not work either; if you can, the URL should work. - rick warner