Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-02-2003, 05:44 AM   #1
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, 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
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You will need to create a virtual host and dns entry eg:

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:21 PM.

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