📄 web-ftp.conf
字号:
#### CONFIG #### #This is the host machine you will connect to automatically#leave this blank to allow users to connect to any computer#they want to, effectively making Web-FTP an ftp client.#To specify a different port simply put :PORTNUMBER at the#End of your hostname. I.E. for port 10000: localhost:10000 #You may now also put a comma separated list here to specify#multiple sites that will appear at login in a drop down box.FTPhost=localhost#Change this to anything you like#If you have multiple sites put their names in a comma separated#list in the same order as the hosts above.FTPHostname=Local System#How long without activity does webftp wait for the user#(In seconds)Timeout=300#Directory that the webserver can create or write to, where#the unix socket handles will reside.SocketDir=/tmp/WebFTP#BaseCGI is the actual Web-FTP perl program, the default is#'web-ftp.cgi'. You only need to set this if you use the MainCGI#option, and if you have changed the perl script's file name to#something other than web-ftp.cgi BaseCGI=#MainCGI is the cgi to use for session connections. This was added#in 2.0.1 for use with the c session cgi. Using the c program to #connect to Web-FTP sessions will improve speed and reduce system #load. A compiled version is included with the distribution named#web-ftpc.cgi, to use that you would put MainCGI=web-ftpc.cgi#If you use this option, and the perl script is named other than#web-ftp.cgi you will need to set the BaseCGI settingMainCGI=web-ftpc.cgi#Specifies the mime types file for the viewerMimeFile=/etc/mime.types#Maximum file edit or view size. Script must buffer entire file#in memory, so keep this reasonable.MaxEditSize=100000#If you have another language map in the /lang directory for web-ftp#say spanish.map, put spanish here to use it instead of the default, englishLanguage=english,bork,chinese,french,german,italian,japanese,korean,portuguese,russian,spanish,chinese-traditional##### APPEARANCE ##### # COLORS#Background ColorBackgroundColor=#FFFFFF#Color of ButtonsButtonColor=#CCAAAA#Error ColorErrorColor=#FF0000#link colorLinkColor=#0000FF#link colorVisitedLinkColor=#990099#Color of login windowLoginColor=#77EECC#text colorTextColor=#000000#Color of even file and directory columns EvenColColor=#FFFFFF#Color of odd file and directory columns OddColColor=#EEEEEE# Size of the files frame, default *, * suggested, though it# can be a number, designated pixel height, or a %, designating# Percentage heightFilesFrameSize=*# Size of the files frame, default *, * suggested, though it# can be a number, designated pixel height, or a %, designating# Percentage heightDirsFrameSize=*# Size of the files frame, default 40, 40 suggested, though it# can be a number, designated pixel height, or a %, designating# Percentage heightInfoFrameSize=30 # WHAT IS SHOWN#Do not show delete buttonHideDelete=0#Do not show download buttonHideDownload=0#Do not show Last Mod fieldHideLastMod=0#Do not show mkdir buttonHideMkdir=0#Do not show move buttonHideMove=0#Do not show Own/Grp fieldHideOwnGrp=0#Do Not show permissions buttonHidePermButton=0#Do Not show or allow to change permissionsHidePermissions=0#Do not show Tag field# NOTE: This hide the following buttons:# permissions, download, delete, move# as they do not make sense without the tag field.HideTag=0#Do not show size fieldHideSize=0#Do not show upload buttonHideUpload=0#Hide advanced permission edit option (Octal mode)HideOctalPerms=0#Hide the server messages buttonHideMessages=0#Hide the site buttonHideSite=1###EDITORS####editors=viewer,Vieweditors=editor,Edit,New File#Copyright 2002,2003 Anthony Ball <Ant@web-ftp.org>#Web-ftp 2.2.1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -