.-
.- FDL definition for Xitami WBA
.-
.define author iMatix Corporation
.define version 2.5c2
.define FORM_WIDTH 100%
.define TALIGN LEFT
.macro icon_open
\
.macro icon_close
.macro image -
.macro icon -
.action "" $1 event=&lower("$1")_event type=image - -
value="/admin/$&lower("$1").gif" rollover="/admin/&lower("$1")a.gif" - -
width=40 height=39
.block header
Cache-control: no-cache
Expires: 0
| Copyright © 1996-2002 iMatix Corporation
Powered by iMatix Studio 2.5 | #(date) #(time)
#(product) v$(version) |
| - .icon_open - .for icon in $(iconbar?) - .icon $\(icon) - .endfor - <.image $help Help>\ - .icon_close - | $+ - | - .icon_open - .icon Console - .icon Halt - .icon Restart - .icon Exit - .icon_close - |
.macro show_tag - .if "$1" eq "$3" - $3 - .else - .action "" $3 event=$2_event type=plain - .endif .macro main_page -
| - .for action in $(actionbar?) - .action "" $\(action) event=&lower\("$\(action)")_event type=plain - .endfor - | - .show_tag $* server Server - .show_tag $* vhosts Vhosts - .show_tag $* cgi CGI - .show_tag $* security Security - .show_tag $* logging Logging - .show_tag $* ftp FTP - |
$*- | |
|
.macro menu_item -
.action "" menu_$1 event=&lower("$1")_event type=image - -
value="/admin/click.gif" rollover="/admin/clicka.gif" -
$+ .macro menu_last -
| .macro menu_foot - |
Select a configuration:
.table name=config-list type=variable rows=15 width=90% compact=yes
.textual "Name:" filename size=40 max=$(FNSIZE) attr=option
.date "Last modified:" filedate span=2 attr=label
.time "" filetime attr=label
.numeric "Size, lines:" filesize size=5 attr=label
.endtable
.action "" Defaults event=default_event value="Defaults..."
for all virtual hosts
.action "" Basehost event=basehost_event value="Base host..."
for unresolved virtual hosts
.-----------------------------------------------------------------------------
.define iconbar Back Save Default Undo
.define actionbar Aliases Errors SSI MIMEs WSX Filters DDNS Advanced
.define topic config_server
.break xiadm03 #(config) - Server Properties
.main_page Server
.define actionbar
.- True if we're looking at Xitami.cfg or defaults.cfg
.index main-config value=1
.index on-unix value=1
.index on-windows-32 value=1
.fields
.textual "Main HTML directory:" webpages size=40 max=100
.textual "Main CGI directory:" cgi-bin size=40 max=100
.textual "CGI URLs start with:" cgi-url size=40
.do if main-config
.boolean "Run in debug mode?" debug -
notes="- creates additional log files"
.numeric "Refresh config every:" refresh_rate size=8 notes="seconds"
.numeric "Max HTTP connections:" limit size=4 notes="if any" blank=yes
.select "HTTP throttle pipe:" pipe type=dynamic
.enddo
.do if on-unix
.boolean "Run in background?" background
.enddo
.do if on-windows-32
.boolean "Start when TCP/IP is ready?" autostart
.boolean "Recover silently from crashes?" recover
.enddo
.textual "Default HTML page:" default1 size=12 max=$(FNSIZE)
.textual "Then:" default2 size=12 max=$(FNSIZE) join=yes
.textual "" default3 size=12 max=$(FNSIZE) join=yes
.textual "" default4 size=12 max=$(FNSIZE) join=yes
.boolean "Allow Keep-Alive connections?" keep-alive
.numeric "Allow up to:" keep-alive-max size=4 join=yes notes="requests"
.numeric "Close after:" timeout size=4 join=yes notes="seconds"
.textual "Directory list sort order" dirsort size=5 -
notes="n=name x=ext t=time s=size N,X,T,S=inverted"
.textual "Directory list template script:" dir-script size=30 max=$(FNSIZE)
.endfields
.-----------------------------------------------------------------------------
.define iconbar Back Save Clear Undo First Next
.define topic config_alias
.break xiadm04 #(config) - Aliases
.sub_page
.table name=alias-list type=variable rows=15 compact=yes
.textual "" key size=20 attr=hidden
.textual "Alias:" alias-name size=20
.textual "Points to path:" alias-path size=50 max=80
.endtable
.-----------------------------------------------------------------------------
.define iconbar Back Save Clear Undo First Next
.define topic config_virtual_hosts
.break xiadm05 #(config) - Virtual Hosts
.main_page Vhosts
.table name=vhost-list type=variable rows=15 compact=yes
.textual "" key size=50 attr=hidden
.textual "IP address or host name:" vhost-name size=40 max=50
.textual "Config file:" vhost-file size=40 max=$(FNSIZE)
.endtable
.-----------------------------------------------------------------------------
.define iconbar Back Save Default Undo
.define actionbar Aliases Environment
.define topic config_cgi
.break xiadm06 #(config) - CGI Properties
.main_page CGI
.define actionbar
.- True if we're running on a Win32 system
.index on-windows-32
.fields
.boolean "CGI enabled?" enabled
.textual "Working directory:" workdir size=40 max=100 -
notes="'-' means use program directory"
.boolean "Match /cgi-bin anywhere in URL?" wildcard -
notes="If not, /cgi-bin must come at the start"
.numeric "Timeout for CGI programs:" timeout notes="seconds"
.numeric "Check CGI progress every:" monitor notes="msecs"
.boolean "Allow directory lists?" dirlist
.do if on-windows-32
.boolean "Support 16-bit CGI programs?" support-16bit
.enddo
.boolean "Use MS-DOS-style filenames?" msdos-style
.boolean "Debug CGI in/out?" debug
.boolean "Use standard I/O?" stdio -
notes="- switch off if you use CGI_STDOUT, e.g. for Basic"
.boolean "Allow file mixing?" mixed-url -
notes="- e.g. images in CGI bin directory"
.textual "Error log file (stderr):" errlog size=40 max=$(FNSIZE)
.label "CGI environment" .boolean "Full environment?" environ .boolean "Pass HTTP fields?" http-fields .textual "Using prefix:" http-prefix size=20 join=yes .boolean "Pass form fields?" form-fields .textual "Using prefix:" form-prefix size=20 join=yes .boolean "Pass QUERY_STRING?" form-query .action "Specific CGI environment:" - CGI-envir value="Define..." event=environment_event .action "Aliases for CGI directories:" - CGI-alias value="Define..." event=aliases_event .endfields .----------------------------------------------------------------------------- .define iconbar Back Save Default Undo .define actionbar Passwords .define topic config_security .break xiadm07 #(config) - HTTP Security .main_page Security .- True if we're running on a Win32 system .index on-windows-32 .index on-unix .fields .textual "Password file:" filename size=20 max=$(FNSIZE) - notes="- blank to disable password protection" .action "" Define value="Define..." event=passwords_event .boolean "Case-sensitive passwords?" password-case .boolean "Allow directory lists?" dirlist .boolean "Allow web-based admin?" admin .textual "IP address mask:" webmask size=20 max=$(WMSIZE) - notes="- eg. 111.222.333.*" .textual "Superuser password:" superuser size=20 - notes="- gives FULL ACCESS to ALL RESOURCES" .do if on-windows-32 .boolean "Reject unsafe short filenames?" safepaths .boolean "Disable Windows control panel?" secure .enddo .textual "Run CGIs under user name:" cgi-username size=10 max=30 .textual "group:" cgi-groupname size=10 max=30 join=yes .textual "password:" cgi-password size=10 max=30 join=yes - attr=secure .do if on-unix .boolean "Run Xitami under safe user id?" setuid .textual " Using harmless user id:" setuid-user size=30 .textual "and group:" setuid-group size=30 join=yes .enddo .endfields .----------------------------------------------------------------------------- .define iconbar Back Save Default Undo .define actionbar ServerLog AccessLog ErrorLog FtpLog FtpErrors .define topic config_serverlog .break xiadm08 #(config) - Log Files .main_page Logging .define actionbar .- True if we're looking at Xitami.cfg or defaults.cfg .index main-config value=1 .fields .textual "Log file directory:" log-dir size=50 .do if main-config .action "Server messages:" define-server-log event=serverlog_event - type=image value="/admin/property.gif" rollover="/admin/propertya.gif" .textual "" server-msgs size=40 attr=label join=yes .enddo .action "HTTP access log:" define-access-log event=accesslog_event - type=image value="/admin/property.gif" rollover="/admin/propertya.gif" .textual "" http-access size=40 attr=label join=yes .action "HTTP error log:" define-error-log event=errorlog_event - type=image value="/admin/property.gif" rollover="/admin/propertya.gif" .textual "" http-error size=40 attr=label join=yes .action "FTP access log:" define-ftp-log event=ftplog_event - type=image value="/admin/property.gif" rollover="/admin/propertya.gif" .textual "" ftp-access size=40 attr=label join=yes .action "FTP error log:" define-ftperr-log event=ftperrors_event - type=image value="/admin/property.gif" rollover="/admin/propertya.gif" .textual "" ftp-error size=40 attr=label join=yes .do if main-config
MIME types (showing built-in types): .table name=mime-list type=variable rows=15 compact=yes .textual "" key size=10 attr=hidden .textual "File extension:" mime-ext size=10 .textual "MIME type:" mime-type size=50 .endtable .----------------------------------------------------------------------------- .define iconbar Back Save Default Undo .break xiadm10 #(config) - HTTP Error Messages .sub_page .fields .boolean "Use message template script?" use-error-script .textual "Script file:" error-script size=30 max=$(FNSIZE) join=yes
.fields .textual "Add new protected URI:" new-uri size=30 max=$(FNSIZE) .action "" Define event=define_event value="Define..." join=yes .endfields .----------------------------------------------------------------------------- .define iconbar Back Save Clear Undo First Next .break xiadm13 #(config) - Users who can access this resource .sub_page .table name=user-list type=variable rows=15 compact=yes .textual "" key size=20 attr=hidden .textual "User name:" user-name size=20 .textual "Password:" password size=20 .endtable .----------------------------------------------------------------------------- .define iconbar Back Save Clear Undo First Next .define topic config_cgi_alias .break xiadm14 #(config) - CGI Aliases .sub_page .table name=cgi-alias-list type=variable rows=15 compact=yes .textual "" key size=20 attr=hidden .textual "CGI alias:" cgi-alias-name size=20 .textual "Points to path:" cgi-alias-path size=50 max=80 .endtable .----------------------------------------------------------------------------- .define iconbar Back Save Clear Undo First Next .define topic config_wsx .break xiadm15 #(config) - Web-Server Extension (WSX) Agents .sub_page .table name=wsx-list type=variable rows=15 compact=yes .textual "" key size=20 attr=hidden .textual "URL alias:" wsx-alias size=20 .textual "WSX agent name:" wsx-agent size=40 .endtable .----------------------------------------------------------------------------- .define iconbar Back Save Default Undo .define topic config_ftp .break xiadm16 #(config) - FTP Configuration .main_page FTP .- True if we're looking at Xitami.cfg or defaults.cfg .index main-config value=1 .fields .do if main-config .boolean "Enable FTP server?" enabled .enddo .textual "FTP root directory:" rootdir size=40 max=100 .numeric "Timeout for connections:" timeout size=6 notes="seconds" .textual "User configuration file:" user-file size=40 max=$(FNSIZE) .action "" define-users event=define_users_event value="Define..." join=yes .textual "Directory access file:" directory-file size=40 max=$(FNSIZE) .action "" define-dirs event=define_dirs_event value="Define..." join=yes .textual "Directory list sort order" dirsort size=5- notes="n=name x=ext t=time s=size NXTS=invert" .boolean "Check anonymous passwords?" email-check .boolean "Share HTTP aliases?" http-aliases .action "" ftp-aliases value="Define FTP aliases..." - event=aliases_event join=yes .boolean "Allow user@hostname?" user-at-host .boolean "Case-sensitive passwords?" password-case .textual "Default soft quota (Mb):" soft-quota size=8 max=10 .textual "hard quota (Mb):" hard-quota size=8 max=10 join=yes
.textual "Message template script:" message-script size=30 max=$(FNSIZE) .label "If no script, use these texts:" .textbox "Welcome message:" welcome rows=1 cols=40 max=240 - notes="text or @filename" .textbox "Login message:" login rows=1 cols=40 max=240 - notes="text or @filename" .textbox "Sign-off message:" signoff rows=1 cols=40 max=240 - notes="text or @filename" Advanced options .do if main-config .numeric "Port for FTP connections:" port size=5 .numeric "Max FTP connections:" limit size=6 notes="if any" blank=yes .enddo .select "Default throttle pipe:" pipe type=dynamic .textual "IP address mask:" webmask size=40 max=$(WMSIZE) - notes="- eg. 111.222.333.*" .numeric "Data connection port:" data-port size=5 .select "Passive IP address:" ipaddress type=dynamic .endfields .----------------------------------------------------------------------------- .define iconbar Back New Save Undo First Next Refresh .define topic config_ftp .break xiadm17 #(config) - FTP User Profiles .sub_page .table name=ftp-user-list type=variable rows=15 width=90% compact=yes .textual "User name:" user-name size=40 attr=option .textual "Password:" password size=40 attr=label .textual "Login directory:" rootdir size=50 attr=label .textual "Permissions:" access size=6 attr=label .numeric "Space used (Mb):" cur-usage size=15 attr=label decs=3 decfmt=drop .numeric "Number of files:" cur-files size=7 attr=label .endtable .----------------------------------------------------------------------------- .define iconbar Back Save First Next .break xiadm18 #(config) - FTP Directory-level Permissions .sub_page .table name=ftp-dir-list type=variable rows=15 width=90% compact=yes .textual "Directory name:" dir-name size=40 max=80 attr=option .textual "Translated path:" dir-path size=60 attr=label .numeric "Users:" dir-users size=5 attr=label .endtable .fields .textual "Add new directory:" new-dir size=40 max=$(FNSIZE) .action "" Define event=define_event value="Define..." join=yes .endfields .----------------------------------------------------------------------------- .define iconbar Back Save Clear Undo First Next .break xiadm19 #(config) - User Permissions for Directory .sub_page .table name=ftp-dir-user-list type=variable rows=15 compact=yes .textual "" key size=20 attr=hidden .textual "User name:" user-name size=20 .textual "Access rights:" accesses size=5 notes="GPDMR, or *" .endtable .----------------------------------------------------------------------------- .define iconbar Back Save Clear Undo First Next .define topic config_filter .break xiadm20 #(config) - Filters .sub_page .table name=filter-list type=variable rows=15 compact=yes .textual "" key size=10 attr=hidden .textual "File extension (.xxx):" filter-alias size=10 .textual "Filter command or script:" filter-agent size=50 .endtable .----------------------------------------------------------------------------- .define iconbar Back Clear Refresh .break xiadm21 Server Console Panel .info_page .index locked .fields .date "Server started at:" date-started .time ":" time-started join=yes .textual "Last server error message:" server-message size=80 .numeric "HTTP service is on port:" http-port size=5 .numeric "FTP service is on port:" ftp-port size=5 .numeric "Number of open connections:" cur-connects size=6 .numeric "Highest open connections:" max-connects size=6 .numeric "Total number of hits:" connect-count size=10 .numeric "Total number of errors:" error-count size=10 .numeric "Total data transferred" transfer-size size=10 .textual "" transfer-unit size=5 join=yes .numeric "Active log files:" log_files size=5 notes="files" .numeric "" log_lines size=8 notes="lines" join=yes .numeric "" log_kbytes size=8 notes="Kb" join=yes .action "" cycle_data event=cycle_logs_event value="Cycle" - type=plain join=yes .action "" clear_data event=clear_logs_event value="Empty" - type=plain join=yes confirm="Really clear log files?" .endfields
.action "" Messages event=messages_event value="Messages..." .action "" Details event=details_event value="Details..." .action "" Preferences event=define_event value="Preferences..." .----------------------------------------------------------------------------- .define iconbar Back Clear Refresh .break xiadm22 Console Messages .info_page .define DATA_WIDTH ""