View previous topic :: View next topic |
Author |
Message |
Dartelin n00b

Joined: 15 Jun 2004 Posts: 10
|
Posted: Wed Jun 30, 2004 7:14 pm Post subject: How to get ftp server on apache running |
|
|
I have emerged apache server with php and mod_php. All works fine but now i would have a ftp server so i emerged mod_ftpd but dont know how to make it work. I have added the line -D FTPD in /etc/conf.d/apache2 and it didnt work (i tried to open the adress that worked with http (http://dumah.dyndns.org/ but changed it to ftp (ftp://dumah.dyndns.org/). You can view it if u want - my comp stays this night on ). If i am behind a router, must i forward a TCP port to my internal ip ? |
|
Back to top |
|
 |
Lajasha Veteran


Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Wed Jun 30, 2004 7:17 pm Post subject: |
|
|
I myself have never used that module but if it translated to ftp:// then I would say yes you need to reroute port 21 to your server. _________________ Come and play in my land |
|
Back to top |
|
 |
Dartelin n00b

Joined: 15 Jun 2004 Posts: 10
|
Posted: Wed Jun 30, 2004 10:42 pm Post subject: |
|
|
Ok thx it worked, now i can see the files and dirs but i would know how to add users and permissions for them so that i must login to an account when connecting to this ftp server. |
|
Back to top |
|
 |
gnuageux Veteran


Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Jul 01, 2004 12:32 pm Post subject: |
|
|
Why not use a stand alone ftp service? ncftpd would be a quick&dirty solution. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
 |
Dartelin n00b

Joined: 15 Jun 2004 Posts: 10
|
Posted: Thu Jul 01, 2004 12:40 pm Post subject: |
|
|
So i emerged proftpd and it goes fine just like the mod_ftpd for apache. I read somewhere that i can use mysql to add users. But i still dont know how to configure the sql database and what must i add to the proftpd.conf file. |
|
Back to top |
|
 |
gnuageux Veteran


Joined: 17 Apr 2004 Posts: 1201
|
|
Back to top |
|
 |
|