LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-24-2010, 05:52 AM   #1
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
Question VirtualHost with ProFTP Problem Allowing Anonymous


Hi there,

I have managed to get a VirtualHost working with ProFTP.

This is for the following domain:

mydomain.co.uk (just as an example of course)

But I have attempted to make my mydomain.co.uk use designated FTP folder in the root of that domains folder if you like so:

<root of mydomain.co.uk>/ftp right?

This is owned by say 'mydomain_user' yea?

Just for arguements sake basically so I am on the right lines (havent actually called it that user of course), but the configs I have gone for are like follows:

Quote:
<VirtualHost ftp.mydomain.co.uk>
ServerName "ftp.mydomain.co.uk"

<Anonymous <non relative path to the ftp folder for ftp.mydomain.com/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
DefaultChdir <non relative path to the ftp folder for ftp.mydomain.com/ftp
</Anonymous>
</VirtualHost>
The only trouble is its still asking for the password, when I login using ssh and say type in:

ftp<hit return>
open ftp.mydomain.co.uk<hit return>

FTP Service Outputs:

Quote:
Connected to ftp.mydomain.co.uk.

220 ProFTPD 1.3.3c Server (ftp.mydomain.co.uk)[::ffff:192.168.0.1]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (ftp.mydomain.co.uk:root): anonymous
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous login ok, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
I can use commands like "dir" and see the folders in there, only when I use a web browser and enter the address of:

ftp://ftp.mydomain.com and hit enter

Then it comes up with not being able to login, quoting:

Quote:
Authentication Required
Then asking me to login, how from the configs above would I be able to get this working so it doesnt ask me at all, using a web browser?

I have anonymous disabled on the actual default server but I dont want to enable that do I? (or do I need to?)

Bit confused if anyone could help that would be wonderful,
Jeremy.
 
  


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
Problems with anonymous login proftp 1.3.1: 530-Unable to set anonymous priviliges. gentooox Linux - Server 3 05-03-2009 02:46 PM
Problem with DNS and VirtualHost Rauldinho Linux - Server 2 01-21-2009 11:40 AM
how to establish ftp server with proftp to allow anonymous user login icoming Linux - Networking 3 10-12-2004 10:38 AM
Proftp on Slax Change Anonymous Home DIR rusty.bz Linux - Networking 0 05-02-2004 09:20 PM
Proftp for anonymous logon VincentB Linux - Newbie 1 05-01-2004 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:35 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