ServerName "FTP server" ←適宜 ServerType inetd ←MasquerradeAddressをルータに任せられるなら standaloneでも。 AllowOverwrite on ←ディレクトリごとの.ftpaccessによる設定を許可する DisplayLogin welcome.msg #DisplayFirstChdir .message LsDefaultOptions "-l" ←オプションの形式が変わったという話も…一応 DenyFilter \*.*/ DefaultRoot ~/public_html !group ←!以降のグループは上位のディレクトリへ移動可能 # MasqueradeAddress your.domain ←WAN側のホスト名or固定ならIP(DR202Cでは不要) # PassivePorts 4000 4029 ←passive modeで使用するポートの範囲(例:400〜4029) TimesGMT off ←日本時間で処理 Port 21 ←デフォルトのポート UseReverseDNS off ←DNS逆引き使用しない IdentLookups off ←Ident使用しない LogFormat allinfo "%t : %u (%a [%h]) : [%s], %T, %m (%f)" ←LOGのフォーマット : ExtendedLog /var/log/proftpd/all.log ALL allinfo ←LOG収集 : ShowDotFiles on ←dotfile(隠しファイル)を表示するか <Directory /*> ←各ディレクトリごとに色々設定 Umask 022 022 AllowOverwrite on </Directory>



[ 自宅サーバーWebRing
┃前
|ID=265 前後5表示
|次
┃乱移動
|サイト一覧 ]