OMdat het vorige topic te oud was ofzo moest ie dicht (snap er echt geen jota van dus weer een x-tra topic voor niks
) maar iig de vraag.
Ik wil graag direct in de webroot komen als ik inlog op mijn Raq550 dit gebeurd nu niet en als ik de proftpd.conf aanpas zoals hieronder werkt het ook niet.
Er is zelfs een mogelijkheid dat ik iedereen toegang geeft tot de hele root van de server, iets wat niet moet natuurlijk.
NU is de vraag wat gaat er fout, volgens heel internet zou de onderstaande methode die Sun ook toepast moeten werken, maar helaas. Verder kan ik op heel i-net vinden dat er nog 2 iemanden problemen hadden hiermee (ook 1,5 jaar geleden) maar daar komt ook geen repoly van terug. Nu is de vraag of jullie een suggestie hebben.
Dit is de proftpd.conf
Dit is de default die al niet werkt:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/../../.. site-adm
DefaultRoot ~ !site-adm
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# set persisten passwd to off so proftp uses glibc functions
# to look at passwd and group files
PersistentPasswd off
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
# Restore file permissions capability to site administrator
<Global>
# Report localtime, not GMT
TimesGMT off
</Global>
<VirtualHost ***.***.***.***>
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/.. web
DefaultRoot ~ !site-adm
AllowOverwrite on
DisplayLogin .ftphelp
</VirtualHost>
Dit is de Versie zoals cobalt zegt dat je hem moet gebruiken maar helaas....
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
DefaultChdir ../../web site-adm
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# set persisten passwd to off so proftp uses glibc functions
# to look at passwd and group files
PersistentPasswd off
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
# Restore file permissions capability to site administrator
<Global>
# Report localtime, not GMT
TimesGMT off
</Global>
<VirtualHost ***.***.***.***>
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/.. web
DefaultRoot ~ !site-adm
AllowOverwrite on
DisplayLogin .ftphelp
</VirtualHost>
Zodra ik dit:
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
DefaultChdir ../../web site-adm
invul op de plaats van de Virtual Host werkt het ook niet
Ik hoop dat je zo voldoende info hebt.
Ik wil graag direct in de webroot komen als ik inlog op mijn Raq550 dit gebeurd nu niet en als ik de proftpd.conf aanpas zoals hieronder werkt het ook niet.
Er is zelfs een mogelijkheid dat ik iedereen toegang geeft tot de hele root van de server, iets wat niet moet natuurlijk.
NU is de vraag wat gaat er fout, volgens heel internet zou de onderstaande methode die Sun ook toepast moeten werken, maar helaas. Verder kan ik op heel i-net vinden dat er nog 2 iemanden problemen hadden hiermee (ook 1,5 jaar geleden) maar daar komt ook geen repoly van terug. Nu is de vraag of jullie een suggestie hebben.
Dit is de proftpd.conf
Dit is de default die al niet werkt:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/../../.. site-adm
DefaultRoot ~ !site-adm
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# set persisten passwd to off so proftp uses glibc functions
# to look at passwd and group files
PersistentPasswd off
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
# Restore file permissions capability to site administrator
<Global>
# Report localtime, not GMT
TimesGMT off
</Global>
<VirtualHost ***.***.***.***>
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/.. web
DefaultRoot ~ !site-adm
AllowOverwrite on
DisplayLogin .ftphelp
</VirtualHost>
Dit is de Versie zoals cobalt zegt dat je hem moet gebruiken maar helaas....
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
DefaultChdir ../../web site-adm
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# set persisten passwd to off so proftp uses glibc functions
# to look at passwd and group files
PersistentPasswd off
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
# Restore file permissions capability to site administrator
<Global>
# Report localtime, not GMT
TimesGMT off
</Global>
<VirtualHost ***.***.***.***>
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/.. web
DefaultRoot ~ !site-adm
AllowOverwrite on
DisplayLogin .ftphelp
</VirtualHost>
Zodra ik dit:
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
DefaultChdir ../../web site-adm
invul op de plaats van de Virtual Host werkt het ook niet
Ik hoop dat je zo voldoende info hebt.
[ Voor 5% gewijzigd door Verwijderd op 04-08-2003 22:23 ]