LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2003, 05:44 AM   #1
Mamour
LQ Newbie
 
Registered: Aug 2003
Location: Brussels, Belgium
Distribution: Debian Sid
Posts: 9

Rep: Reputation: 0
Getting Apache to spawn FTP listing?


Hi there,

I wondered if there was any easy way to get Apache to spawn a specific FTP server listing, simply by connecting to port 80 instead of port 21 of it. This method is used on ftp.mozilla.org, and many others. Can this be configured somewhere? Is it a module? I'm kind of a (big) newbie in this field, so any help is welcome...

Thanks in advance,
 
Old 09-02-2003, 03:52 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to create a virtual host and dns entry eg:
ftp.yourhost.com

Then make the DocumentRoot for that VirtualHost point to the base of your public ftp directory. Files will need to be readable by the user that your web server runs as (usually apache or nobody). Then just make sure that you have "Indexes" enabled as an "Option" for that directory.

If you have any problems just let me know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp file listing: how to pipe to less? Lotharster Linux - Newbie 2 11-29-2005 08:45 PM
ftp listing does not work Lotharster Linux - Newbie 2 11-28-2005 07:42 AM
Recursively listing files over FTP? overbored Linux - Software 4 10-14-2004 12:12 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM
Ftp listing problem piranha Linux - Networking 1 01-21-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration