# some Apache httpd 2.* config 7/2005
Listen [...IP cut for privacy reasons...]:80
LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
# LoadModule ldap_module modules/mod_ldap.so
# LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
# LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
# LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
# LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
# LoadModule info_module modules/mod_info.so
# LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
CheckSpelling on
# LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
# LoadModule proxy_module modules/mod_proxy.so
# LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
# LoadModule proxy_http_module modules/mod_proxy_http.so
# LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule bw_module modules/bw_mod-0.6.so
BandWidthModule On
BandWidthDebug Off
# ForceBandWidthModule Off
# AddOutputFilterByType BW_MOD text/html text/plain
BandWidth all 0
MinBandWidth all 4096
LargeFileLimit .jpg 256 73728
LargeFileLimit .png 256 73728
LargeFileLimit .mp3 256 65536
LargeFileLimit .wav 256 65536
LargeFileLimit .zip 256 73728
LargeFileLimit .rar 256 73728
LargeFileLimit .bmp 256 65536
LargeFileLimit .avi 256 65536
BandWidthError 510
ErrorDocument 510 https://jult.net/xs/bwmax.htm
MaxConnection all 48
Include conf.d/*.conf
ServerTokens ProductOnly
# Do NOT add a slash at the end of the directory path.
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
TimeOut 270
KeepAlive on
MaxKeepAliveRequests 400
KeepAliveTimeout 27
## Server-Pool Size Regulation (MPM specific)
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 9
MinSpareServers 6
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 3600
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 12000
ExtendedStatus On
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 192.168.1.
User apache
Group apache
ServerAdmin fedora@
ServerName jult.net:80
UseCanonicalName On
# DocumentRoot "/var/www/jult"
AcceptPathInfo On
# catches all port 80 vhosts :
Options FileInfo Indexes FollowSymLinks ExecCGI Includes MultiViews
AllowOverride None
Order allow,deny
Allow from all
Options Indexes FollowSymLinks ExecCGI Includes MultiViews
AllowOverride None
Order allow,deny
Allow from all
AllowOverride Options FileInfo
UserDir disable
DirectoryIndex index.php index.html index.htm index.html.var rss.xml
LimitRequestFields 64
AccessFileName .htaccess
Order allow,deny
Deny from all
# pivot validation:
ForceType 'application/atom+xml; charset=iso-8859-1'
ForceType 'application/xml; charset=iso-8859-1'
TypesConfig /etc/mime.types
DefaultType text/plain
# MIMEMagicFile /usr/share/magic.mime
MIMEMagicFile conf/magic
HostnameLookups Off
ErrorLog logs/error_log
LogLevel error
LogFormat "%v %h %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 logs/access_log combined
ServerSignature Off
Alias /icons/ "/var/www/icons/"
# Alias /fedora "/var/www/sysinfo"
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
# ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
#
# AllowOverride None
# Options None
# Order allow,deny
# Allow from all
#
IndexOptions FancyIndexing VersionSort FoldersFirst NameWidth=*
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 allows you to place a short description after a file in
# server-generated indexes. These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
ReadmeName readme.txt
HeaderName header.txt
IndexIgnore *.dat* .??* *~ *# header* readme* HEADER* README* RCS CVS *,v *,t
# added *.dat* because of /foto album opendir indexing
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
LanguagePriority en nl de fr it ca cs da el eo es et he hr ja ko ltz nn no pl pt pt-BR ru sv zh-CN zh-TW
ForceLanguagePriority Prefer Fallback
# AddDefaultCharset UTF-8
# yes this works better for me!
AddDefaultCharset ISO-8859-1
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8
# The set below does not map to a specific (iso) standard
# but works on a fairly wide range of browsers. Note that
# capitalization actually matters (it should not, but it
# does for some browsers).
# See http://www.iana.org/assignments/character-sets
# for a list of sorts. But browsers support few.
AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
#AddType application/x-tar .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
AddHandler cgi-script .cgi .pl
# For files that include their own HTTP headers:
#
#AddHandler send-as-is asis
# For server-parsed imagemap files:
#
AddHandler imap-file map
# For type maps (negotiated resources):
# (This is enabled by default to allow the Apache "It Worked" page
# to be distributed in multiple languages.)
AddHandler type-map var
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
AddType text/html .shtml .shtm .html .htm
AddOutputFilter INCLUDES .shtml
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
Alias /error/ "/var/www/error/"
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
# ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
# ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
# ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
# ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
# ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
# ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
ErrorDocument 500 "OK, we mkae no mistakas! - error 500"
ErrorDocument 405 http://jthz.nl/x.htm
ErrorDocument 404 /index.php
ErrorDocument 403 "sorry, no way - 403"
ErrorDocument 401 /index.php
ErrorDocument 400 /index.php
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
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
# for all hosts:
Redirect /webmail https://mail.jult.net
Redirect /email https://mail.jult.net
Redirect /mail https://mail.jult.net
Redirect /mp3 http://jthz.nl/mp3
Redirect /news http://www.rantradio.com/shows/newsreal/index.php
Redirect /ogg http://jult.nl/printscreens/aotuv
Redirect /podcast http://bestweleenbeetje.nl/dub/entry.php?id=27
Redirect /warez https://jult.net/dub/entry.php?id=45
NameVirtualHost *:80
ServerName jult.net
DocumentRoot /var/www/jult
ServerAlias *.jult.net
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mail\.jult\.net
RewriteRule ^/(.*)$ https://mail.jult.net/$1 [R,L]
RewriteCond $1 =mail
RewriteRule ^/(.*)$ https://mail.jult.net/ [R,L]
RewriteCond %{HTTP_HOST} !^jult.net(:80)?$
RewriteRule ^/(.*) https://jult.net/$1 [L,R]
RewriteOptions inherit
#[...cut for privacy reasons...]
Redirect /foto http://jult.nl
#[...cut for privacy reasons...]
SetEnvIfNoCase Referer "^https://jult.net/" local_ref
SetEnvIfNoCase Referer "^https://jult.net$" local_ref
SetEnvIfNoCase Referer "^http://bestweleenbeetje.nl/" local_ref
SetEnvIfNoCase Referer "^http://bestweleenbeetje.nl$" local_ref
SetEnvIfNoCase Referer "^http://.*.bestweleenbeetje.nl/" local_ref
SetEnvIfNoCase Referer "^http://.*.bestweleenbeetje.nl$" local_ref
SetEnvIfNoCase Referer "^$" local_ref
Order Allow,Deny
Allow from env=local_ref
ServerName jult.nl
DocumentRoot /var/www/foto
ServerAlias *.jult.nl *.hydrogene.nl hydrogene.nl
RewriteEngine on
RewriteCond %{HTTP_HOST} !^jult.nl?$
RewriteRule ^/(.*) http://jult.nl/$1 [L,R]
RewriteOptions inherit
#[...cut for privacy reasons...]
SetEnvIfNoCase Referer "^$" local_ref
Order Allow,Deny
Allow from env=local_ref
ErrorDocument 403 /albums.php
ErrorDocument 404 /albums.php
ServerName bestweleenbeetje.nl
DocumentRoot /var/www/lullig
ServerAlias *.bestweleenbeetje.nl
Redirect /archief http://bestweleenbeetje.nl/dub/entry.php?id=29
RewriteEngine on
RewriteCond %{HTTP_HOST} !^bestweleenbeetje.nl?$
RewriteCond %{HTTP_HOST} !^wwww.bestweleenbeetje.nl?$
RewriteCond %{HTTP_HOST} !^ww.bestweleenbeetje.nl?$
RewriteRule ^/(.*) http://ww.bestweleenbeetje.nl/$1 [L,R]
RewriteOptions inherit
#[...many vhosts cut for privacy reasons...]