# apache/1.3.31 #///////////////////////////////////////////////////////////////////////# # mod_so # #///////////////////////////////////////////////////////////////////////# LoadModule ssl_module /usr/local/apache/modules/libssl.so LoadModule perl_module /usr/local/apache/modules/libperl.so LoadModule php4_module /usr/local/apache/modules/libphp4.so LoadModule gzip_module /usr/local/apache/modules/mod_gzip.so Loadmodule dav_module /usr/local/apache/modules/libdav.so #///////////////////////////////////////////////////////////////////////# # mod_dav # #///////////////////////////////////////////////////////////////////////# DAVLockDB /var/run/davlock DAVMinTimeout 600 DAV On AuthName "Only for WebDAV-Clients" AuthType Digest AuthUserFile / AuthGroupFile / Require group webdavusr #///////////////////////////////////////////////////////////////////////# # mod_ssl # #///////////////////////////////////////////////////////////////////////# Listen 80 Listen 443 SSLSessionCache shm:/var/log/apache/ssl_session_cache.log SSLSessionCacheTimeout 300 AddType application/x-x509-ca-cert .crt AddType application/x-pkcst-crl .crl SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 #///////////////////////////////////////////////////////////////////////# # mod_gzip # #///////////////////////////////////////////////////////////////////////# LogFormat "%r %{Content-type}o %s %B %{mod_gzip_result}n %{mod_gzip_input_size}n %{mod_gzip_output_size}n \"%{User-agent}\"" mod_gzip CustomLog "| /usr/local/cronolog/current/sbin/cronolog /var/log/apache/mod_gzip.log.%Y%m%d" mod_gzip mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_keep_workfiles No mod_gzip_minimum_file_size 1024 mod_gzip_maximum_file_size 0 mod_gzip_maximum_inmem_size 100000 mod_gzip_temp_dir /tmp mod_gzip_item_include mime ^text/.*$ mod_gzip_item_include mime ^application/x-httpd-php$ mod_gzip_item_include mime ^application/x-httpd-php-source$ mod_gzip_item_include mime ^httpd/unix-directory$ mod_gzip_item_include handler ^perl-script$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include handler ^server-status$ mod_gzip_item_include handler ^server-info$ mod_gzip_item_include handler ^server-parsed$ mod_gzip_item_exclude file \.css$ mod_gzip_item_exclude file \.js$ # mod_gzip_item_exclude reqheader "User-Agent: Mozilla/4\.[4-9][^0-9].*" #///////////////////////////////////////////////////////////////////////# # mod_speling # #///////////////////////////////////////////////////////////////////////# CheckSpelling On #///////////////////////////////////////////////////////////////////////# # mod_perl # #///////////////////////////////////////////////////////////////////////# SetHandler perl-script PerlHandler Apache::Status Order deny,allow Deny from all Allow from 192.168.1.2 SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On #///////////////////////////////////////////////////////////////////////# # httpd.conf # #///////////////////////////////////////////////////////////////////////# ServerType standalone ServerRoot "/home/domain.de" HostnameLookups Off Port 80 User wwwrun Group users ServerAdmin webmaster@domain.de ServerName domain.de DocumentRoot "/home/domain.de/public_html" TransferLog "| /usr/local/cronolog/current/sbin/cronolog /var/log/apache/access.log.%Y%m%d" ErrorLog "| /usr/local/cronolog/current/sbin/cronolog /var/log/apache/error.log.%Y%m%d" UseCanonicalName On LogLevel debug LogFormat "%v %h %l %u %{[%d/%b/%G:%H:%M:%S %z]}t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" IdentityCheck Off Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 50 MaxRequestsPerChild 30 ExtendedStatus On ServerSignature EMail ServerTokens Full TypesConfig /etc/httpd/mime.types PidFile /var/run/httpd.pid ScoreBoardFile /var/log/httpd.scoreboard LockFile /var/lock/apache-lock ResourceConfig /dev/null AccessConfig /dev/null #///////////////////////////////////////////////////////////////////////# # access.conf # #///////////////////////////////////////////////////////////////////////# DirectoryIndex index.shtml index.stm index.html index.htm index.php index.cgi index.pl index.exe DefaultType text/plain Options +Indexes +SymLinksIfOwnerMatch +Includes AllowOverride All Order allow,deny Allow from all AccessFileName .htaccess Order allow,deny Deny from all Order allow,deny Deny from all #///////////////////////////////////////////////////////////////////////# # srm.conf # #///////////////////////////////////////////////////////////////////////# Alias /icons/ "/home/domain.de/icons/" ScriptAlias /cgi-bin/ "/home/domain.de/cgi-bin/" IndexOptions NameWidth=40 FancyIndexing FoldersFirst IconsAreLinks Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all AllowOverride None Options None Order allow,deny Allow from all SetHandler server-status Order deny,allow Deny from all Allow from 192.168 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image.gif) image/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/html.gif .html .htm .shtml .stm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/back.gif .. 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 AddDescription "ZIP archive" .zip AddDescription "LHA/LZA archive" .lha .lza ReadmeName .readme HeaderName .header IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t AddEncoding x-compress Z AddEncoding x-gzip gz AddLanguage de .de AddLanguage en .en #AddLanguage es .es #AddLanguage fr .fr LanguagePriority de en AddType application/x-httpd-php .php$ AddType application/x-httpd-php-source .phps$ AddType application/x-tar .tgz AddType application/vnd.wap.wmlc .wmlc AddType application/vnd.wap.wmlsc. .wmlsc AddType image/x-icon .ico AddType image/vnd.wap.wbmp .wbmp AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .wmls AddType text/html .shtml .stm AddType image/x-icon .ico AddHandler cgi-script .cgi .pl .exe AddHandler server-parsed .shtml .stm 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 #///////////////////////////////////////////////////////////////////////# # virtualhost.conf # #///////////////////////////////////////////////////////////////////////# NameVirtualHost 192.168.1.1 User domain.de Groupe users ServerName www.domain.de ServerAlias domain.de ErrorLog /home/domain.de/logs/error.log DocumentRoot /home/domain.de/public_html ScriptAlias /cgi-bin/ /home/domain.de/cgi-bin/ User domain.de Groupe users ServerName www.domain.de ServerAlias domain.de ErrorLog /home/domain.de/logs/error.log DocumentRoot /home/domain.de/public_html ScriptAlias /cgi-bin/ /home/domain.de/cgi-bin/ php_admin_value safe_mode on php_admin_value open_basedir /home/domain.de php_admin_value doc_root /home/domain.de php_admin_value user_dir /home/domain.de php_admin_value upload_tmp_dir /home/domain.de/tmp php_admin_value session.save_path /home/domain.de/tmp php_admin_value register_globals off # mod_ssl SSLEngine On SSLCertifcateFile /home/domain.de/ssl/server.crt SSLCertifcateKeyFile /home/domain.de/ssl/server.key CustomLog /var/log/apache/ssl_request.log "%t %h %{SSL_PROTOCOL}x \"%r\" %b" fine>