Hey guys, I just setup my old Athlon 2400+ rig as a headless server.
I'm running it as a gaming rig (Quake 4/America's Army), VOIP app and I'd like to have both a small web and FTP server.
I'm using FC4. I installed vsftpd but I just can't get it to work the way I want so I ended up downloading and installing the latest version of proftpd.
In any case I'd like to have one user access chrooted to their ftp directory. I also would like to have a read only access on files and write allowed in the upload folder only.
Anyways, here is my config file:
#################################################
ServerName "My FTP Server"
ServerAdmin
admin@email.com
ServerType standalone
DefaultServer on
Port 21
#AllowForeignAddress on
#MasqueradeAddress domain.com
Umask 022
MaxInstances 20
User ftpuser
Group ftpuser
UserAlias public ftpuser
AuthAliasOnly on
AuthPAM off
RequireValidShell off
DefaultRoot ~
#DefaultChdir /home/ftp/
AllowOverwrite on
DeleteAbortedStores off
#ExtendedLog /home/me/logs/ftp.log read,write
TimeoutLogin 300
TimeoutStalled 600
MaxClients 10
MaxClientsPerHost 5
DisplayLogin welcome.msg
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Directory ~/>
DirFakeGroup on ftp
DirFakeUser on ftp
DirFakeMode 000
# <Limit WRITE>
# DenyAll
# </Limit>
</Directory>
<Directory ~/uploads/>
<Limit READ WRITE DIRS STO CWD CDUP>
AllowAll
</Limit>
</Directory>
#################################################
Now I've tried everything and this config seems to work when I connect using my linux rig ftp client.
When I use my Windows machine, I can't list the directories or files (all are hidden but accessible). I get an error message saying PORT command is not allowed.
If I enable AllowForeignAddress then I can using WS-FTP just fine but Internet Explorer still won't list a damn thing (actually IE can't even connect even supplied with the username/password... keeps on timing out).
Ok I think that's it for the FTP... I have no idea where to look... any tips?
As far as apache goes, I'm just having a little problem setting it up (maybe I missed something ez).
The daemon starts fine but I keep on getting the Fedora Core Test Page. I've added content to my /var/www/html directory (only one index.html page) but when explicitly pointing to it I'm getting a 403 error (Forbidden access). Permission on the file is 644 and it's been chmod to apache user and group.
Any ideas?
Thanks in advance for the replies. I'm sure some of those questions are dumb but I'm just a linux newb
-Sam