##
## httpd.conf -- Apache HTTP server configuration file
##
ServerType standalone
ServerRoot "/usr/local/apache"
#LockFile /usr/local/apache/logs/httpd.lock
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
#ResourceConfig conf/srm.conf
#AccessConfig conf/access.conf
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 5
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
Listen 80
Listen 443
User nobody
Group nobody
ServerAdmin webmaster@baytech.net
### LOAD PHP MODULE
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
### DEFAULT BAYTECH CONFIG
DocumentRoot /home/baytech/public_html
ServerName baytech.net
ErrorDocument 404 /errors/404.shtml
AllowOverride All
AddType text/html .shtml
Options Includes FollowSymLinks
DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
ScriptAlias /cgi-private/ "/home/baytech/cgi-private/"
ScriptAlias /cgi-private/admin/ "/home/baytech/cgi-private/admin/"
ScriptAlias /probase/ "/home/baytech/cgi-private/"
AddHandler cgi-script .*
Options ExecCGI
AddHandler cgi-script .*
Options ExecCGI
AddType text/html .shtml
DirectoryIndex index.shtml
Options Includes FollowSymLinks
Alias /downloads /home/baytech/public_ftp
Options FollowSymLinks +Indexes
Options FollowSymLinks
AllowOverride All
Options Indexes FollowSymLinks MultiViews ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
UserDir public_html
DirectoryIndex index.html index.php index.php3
AccessFileName .htaccess
Order allow,deny
Deny from all
#CacheNegotiatedDocs
UseCanonicalName On
TypesConfig /usr/local/apache/conf/mime.types
DefaultType text/plain
MIMEMagicFile /usr/local/apache/conf/magic
HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /usr/local/apache/logs/access_log common
#CustomLog /usr/local/apache/logs/referer_log referer
#CustomLog /usr/local/apache/logs/agent_log agent
#CustomLog /usr/local/apache/logs/access_log combined
ServerSignature On
# > AddType text/html .ahtml
# > EBCDICConvert Off=InOut .ahtml
#
# EBCDICConvertByType On=InOut text/* message/* multipart/*
# EBCDICConvertByType On=In application/x-www-form-urlencoded
# EBCDICConvertByType On=InOut application/postscript model/vrml
# EBCDICConvertByType Off=InOut */*
Alias /icons/ "/usr/local/apache/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
ScriptAlias /xcgi/ "/home/baytech/cgi-private/"
AllowOverride None
Options None
Order allow,deny
Allow from all
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
# Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
# French (fr) - German (de) - Greek-Modern (el)
# Italian (it) - Korean (kr) - Norwegian (no)
# Portugese (pt) - Luxembourgeois* (ltz)
# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
# Russian (ru)
#
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage zh-tw .tw
AddLanguage tw .tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
AddHandler cgi-script .cgi
AddType text/html .shtml .phtml .htm .html
AddHandler server-parsed .shtml .phtml .htm .html
#AddHandler send-as-is asis
#AddHandler imap-file map
#AddHandler type-map var
#MetaDir .web
#MetaSuffix .meta
#ErrorDocument 500 "The server made a boo boo.
#ErrorDocument 404 /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
SetHandler server-status
Order deny,allow
Deny from all
Allow from 68.159.204.74
SetHandler server-info
Order deny,allow
Deny from all
Allow from 68.159.204.74
Deny from all
ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
#
# ProxyRequests On
#
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
#
# ProxyVia On
# CacheRoot "/usr/local/apache/proxy"
# CacheSize 5
# CacheGcInterval 4
# CacheMaxExpire 24
# CacheLastModifiedFactor 0.1
# CacheDefaultExpire 1
# NoCache a_domain.com another_domain.edu joes.garage_sale.com
#
#NameVirtualHost *
#
#AddType application/x-x509-ca-cert .crt
#AddType application/x-pkcs7-crl .crl
#
#
#SSLPassPhraseDialog builtin
#SSLSessionCache none
#SSLSessionCache shmht:/usr/local/apache/logs/ssl_scache(512000)
#SSLSessionCache shmcb:/usr/local/apache/logs/ssl_scache(512000)
#SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache
#SSLSessionCacheTimeout 300
#SSLMutex file:/usr/local/apache/logs/ssl_mutex
#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin
#SSLRandomSeed startup file:/dev/random 512
#SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random 512
#SSLRandomSeed connect file:/dev/urandom 512
#SSLLog /usr/local/apache/logs/ssl_engine_log
#SSLLogLevel info
#
#
### baytech ssl
#
# ServerName admin.baytech.net
# ServerAdmin webmaster@baytech.net
# DocumentRoot /home/baytech/site_admin/cgi
# DirectoryIndex login.cgi
# Options ExecCGI Includes SymLinksIfOwnerMatch
#SSLEngine on
#SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
#SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
#SSLCertificateFile /usr/local/apache/conf/ssl.crt/server-dsa.crt
#SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
#SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server-dsa.key
#SSLCertificateChainFile /usr/local/apache/conf/ssl.crt/ca.crt
#SSLCACertificatePath /usr/local/apache/conf/ssl.crt
#SSLCACertificateFile /usr/local/apache/conf/ssl.crt/ca-bundle.crt
#SSLCARevocationPath /usr/local/apache/conf/ssl.crl
#SSLCARevocationFile /usr/local/apache/conf/ssl.crl/ca-bundle.crl
#SSLVerifyClient require
#SSLVerifyDepth 10
#
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#
#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
#
# SSLOptions +StdEnvVars
#
#
#SSLOptions +StdEnvVars
# Options ExecCGI
# AddHandler cgi-script .*
#
#
#
# AllowOverride All
# AddType text/html .shtml
# Options Includes FollowSymLinks
# DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
#
# SetEnvIf User-Agent ".*MSIE.*" \
# nokeepalive ssl-unclean-shutdown \
# downgrade-1.0 force-response-1.0
# CustomLog /usr/local/apache/logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
# UserDir /home/baytech/cgi-private/admin
#
#
#AddHandler cgi-script .cgi
#AddType text/html .html
#AddType text/html .shtml
#AddHandler server-parsed .shtml
#FastCgiSuexec /usr/local/apache/bin/suexec
#FastCgiServer /usr/local/apache/sbin/testing.cgi -priority 5
#AddType application/x-httpd-php .php .phtml .php3
#AddType application/x-httpd-php-source .phps
NameVirtualHost 70.150.140.70:80
#
### BAYTECH'S VIRTUAL DOMAINS
#
### www.baytech.net
DocumentRoot /home/baytech/public_html
ServerName www.baytech.net
ErrorDocument 404 /errors/404.shtml
AllowOverride All
AddType text/html .shtml
Options Includes FollowSymLinks
DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
ScriptAlias /cgi-private/ "/home/baytech/cgi-private/"
ScriptAlias /cgi-private/admin/ "/home/baytech/cgi-private/admin/"
ScriptAlias /probase/ "/home/baytech/cgi-private/"
AddType application/x-httpd-php .php .phtml
AddHandler cgi-script .*
Options ExecCGI
AddHandler cgi-script .*
Options ExecCGI
AddType text/html .shtml
DirectoryIndex index.shtml
Options Includes FollowSymLinks
Alias /downloads /home/baytech/public_ftp
Options FollowSymLinks +Indexes
### betty.baytech.net
DocumentRoot /home/baytech/public_html
ServerName betty.baytech.net
ErrorDocument 404 /errors/404.shtml
AllowOverride All
AddType text/html .shtml
Options Includes FollowSymLinks
DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
ScriptAlias /cgi-private/ "/home/baytech/cgi-private/"
ScriptAlias /cgi-private/admin/ "/home/baytech/cgi-private/admin/"
ScriptAlias /probase/ "/home/baytech/cgi-private/"
AddType application/x-httpd-php .php .phtml
AddHandler cgi-script .*
Options ExecCGI
AddHandler cgi-script .*
Options ExecCGI
AddType text/html .shtml
DirectoryIndex index.shtml
Options Includes FollowSymLinks
Alias /downloads /home/baytech/public_ftp
Options FollowSymLinks +Indexes
### baytechdcd.com
DocumentRoot /home/baytech/public_html
ServerName www.baytechdcd.com
ErrorDocument 404 /errors/404.shtml
AllowOverride All
AddType text/html .shtml
Options Includes FollowSymLinks
DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
ScriptAlias /cgi-private/ "/home/baytech/cgi-private/"
ScriptAlias /probase/ "/home/baytech/cgi-private/"
AddHandler cgi-script .*
Options ExecCGI
AddHandler cgi-script .*
Options ExecCGI
AddType text/html .shtml
DirectoryIndex index.shtml
Options Includes FollowSymLinks
Alias /downloads /home/baytech/public_ftp
Options FollowSymLinks +Indexes
### php development area
DocumentRoot /home/baytech/dev/html/
ServerName dev.baytech.net
ServerAlias dev.baytech.net
Alias /images /home/baytech/dev/images
Alias /php /home/baytech/dev/php
Alias /src /home/baytech/dev/src
AddType application/x-httpd-php .php .phtml
DirectoryIndex index.php
Options Includes FollowSymLinks
AddType application/x-httpd-php-source .phps
AddType text/html .shtml
DirectoryIndex index.shtml
Options Includes
Options +Indexes
Options +Indexes
AddType application/x-httpd-php-source .phps
### redundant domains for search engines
DocumentRoot /home/baytech/public_html/
ServerName remotepowercontrol.com
ServerAlias www.remotepowercontrol.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex rpcseries.shtml
Options Includes FollowSymLinks
DocumentRoot /home/baytech/public_html/
ServerName remotepowermanagement.com
ServerAlias www.remotepowermanagement.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex rpcseries.shtml
Options Includes FollowSymLinks
DocumentRoot /home/baytech/public_html/
ServerName intelligentpowercontrol.com
ServerAlias www.intelligentpowercontrol.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex rpcseries.shtml
Options Includes FollowSymLinks
DocumentRoot /home/baytech/public_html/
ServerName remoteconsoleaccess.com
ServerAlias www.remoteconsoleaccess.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex dsfseries.shtml
Options Includes FollowSymLinks
DocumentRoot /home/baytech/public_html
ServerName outofbandaccess.com
ServerAlias www.outofbandaccess.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex dsfseries.shtml
Options Includes FollowSymLinks
DocumentRoot /home/baytech/public_html/
ServerName remotesitemanagement.com
ServerAlias www.remotesitemanagement.com
ScriptAlias /cgi-private "/home/baytech/cgi-private/"
DirectoryIndex rsm.shtml
Options Includes FollowSymLinks
### baytech mail
ServerAdmin webmaster@baytech.net
DocumentRoot /usr/local/apache/htdocs
ServerName mail.baytech.net
ErrorLog /usr/local/apache/logs/error_log
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
### baytech site admin
ServerName admin.baytech.net
ServerAlias admin.baytech.net
ServerAdmin webmaster@baytech.net
DocumentRoot /home/baytech/site_admin/html/
ScriptAlias /cgi/ "/home/baytech/site_admin/cgi/"
Options ExecCGI
AddHandler cgi-script .*
Options SymLinksIfOwnerMatch
AllowOverride All
AddType text/html .shtml
Options Includes FollowSymLinks
DirectoryIndex index.html index.shtml index.php welcome.shtml welcome.html
### baytech resellers area
ServerName resellers.baytech.net
ServerAlias resellers.baytech.net
ServerAdmin webmaster@baytech.net
DocumentRoot /home/baytech/resellers/html
DirectoryIndex index.shtml
ScriptAlias /cgi-private/ "/home/baytech/resellers/cgi-private/"
ScriptAlias /cgi/ "/home/baytech/resellers/cgi/"
Alias /files/ "/home/baytech/resellers/files/"
Options ExecCGI Includes SymLinksIfOwnerMatch
Options ExecCGI
AddHandler cgi-script .*
AllowOverride All
AddType text/html .shtml
Options Includes SymLinksIfOwnerMatch
DirectoryIndex index.html index.shtml
AllowOverride All
AddType text/html .shtml
Options +Indexes SymLinksIfOwnerMatch
# DirectoryIndex index.html index.shtml
### webmail.baytech.net
ServerName webmail.baytech.net
ServerAlias webmail.baytech.net
ServerAdmin webmaster@baytech.net
DocumentRoot /home/mailclient/html/
DirectoryIndex index.shtml
ScriptAlias /cgi/ "/home/mailclient/cgi/"
Alias /include/ "/home/mailclient/include/"
Options ExecCGI Includes SymLinksIfOwnerMatch
Options ExecCGI
AddHandler cgi-script *
AllowOverride All
AddType text/html .shtml
Options Includes SymLinksIfOwnerMatch
DirectoryIndex index.html index.shtml
AllowOverride All
AddType text/html .shtml
Options SymLinksIfOwnerMatch