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:
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.