Репозитории ALT
S: | 1.6b15-alt1 |
5.1: | 1.5p6-alt1 |
4.1: | 1.5p5-alt3 |
4.0: | 1.5p5-alt3 |
3.0: | 1.5p4-alt1 |
Группа :: Система/Серверы
Пакет: mathopd
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
# /etc/mathopd.conf
# Written by Evseev for ALTLinux
# Based on http://www.mathopd.org/wiki?Configuration/ExampleConfig
# and http://www.opennet.ru/base/sys/misk_utils.txt.html
User mathopd
StayRoot off # "on" decreases security, but may be needed for running personal scripts
Umask 026
Log /var/log/mathopd/log.%Y%m%d
ErrorLog /var/log/mathopd/errorlog.%Y%m%d
PIDFile /var/run/mathopd.pid
Control {
# RunScriptAsOwner # Requires "StayRoot on"
ChildLog /var/log/mathopd/childlog.%Y%m%d
IndexNames {
index.html
index.htm
default.htm
dir_cgi
}
Types {
text/html { .html .shtml }
text/plain { txt }
image/gif { gif }
image/jpeg { jpg }
text/css { css }
application/octet-stream { * }
}
Specials {
Dump { /dump }
CGI { cgi }
CGI { dir_cgi }
Imagemap { map }
Redirect { url }
}
AutoIndexCommand /usr/bin/dir_cgi
# External {
# /usr/bin/php { .php .php3 .php4 }
# /usr/bin/perl { .pl }
# /usr/bin/ruby { .rb }
# /usr/bin/python { .py }
# /usr/bin/tclsh { .tcl }
# /bin/rbash { .sh }
# }
}
Server {
Port 8000 # "80" is standard value, but it can be already used by Apache.
Virtual {
AnyHost
Control {
Alias /
Location /var/www/html
}
Control {
Alias /~
Location public_html
UserDirectory On
Access {
Deny 0/0
Allow 127.0.0.1/32
Allow 192.168.0.0/24
}
}
Control {
Alias /~root
Location /nosuchdirectory
}
Control {
Alias /ftp
Location /var/ftp
}
# Control {
# Alias /doc
# Location /usr/share/doc
# }
# Control {
# Alias /cdrom
# Location /mnt/cdrom
# }
}
}
## EOF ##