Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get ftp server on apache running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dartelin
n00b
n00b


Joined: 15 Jun 2004
Posts: 10

PostPosted: Wed Jun 30, 2004 7:14 pm    Post subject: How to get ftp server on apache running Reply with quote

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 :D). If i am behind a router, must i forward a TCP port to my internal ip ?
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Wed Jun 30, 2004 7:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dartelin
n00b
n00b


Joined: 15 Jun 2004
Posts: 10

PostPosted: Wed Jun 30, 2004 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Thu Jul 01, 2004 12:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dartelin
n00b
n00b


Joined: 15 Jun 2004
Posts: 10

PostPosted: Thu Jul 01, 2004 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Thu Jul 01, 2004 12:49 pm    Post subject: Reply with quote

Will this work:

http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-AuthFiles.html
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum