← Back to team overview

sslug-teknik team mailing list archive

Re: Apache og Virtual Hosts - httpd.conf-filen

 

Det virker :-)

På den anden server - alt er i vinkel ...
Claus Olsen <webmaster@xxxxxx> wrote in message
news:881dg4$dv2$1@xxxxxxxxxxxx...
>
> ServerType standalone
>
> ServerRoot "/usr/local/apache"
>
>
> PidFile /usr/local/apache/logs/httpd.pid
>
> ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
>
>
> Timeout 300
>
> KeepAlive On
>
> MaxKeepAliveRequests 100
>
> KeepAliveTimeout 15
>
> MinSpareServers 5
> MaxSpareServers 10
>
> StartServers 5
>
> MaxClients 150
>
> MaxRequestsPerChild 0
>
>
>
>
>
>
>
> Port 80
>
> User nobody
> Group nobody
>
> ServerAdmin root@Celts.localdomain
>
>                 #
>
> DocumentRoot "/usr/local/apache/htdocs"
>
> <Directory />
>     Options FollowSymLinks
>     AllowOverride None
> </Directory>
>
>
> <Directory "/usr/local/apache/htdocs">
>
>     Options Indexes FollowSymLinks
>
>     AllowOverride None
>
>     Order allow,deny
>     Allow from all
> </Directory>
>
> UserDir public_html
>
>
> DirectoryIndex index.html index.php index.php3
>
> AccessFileName .htaccess
>
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
> </Files>
>
>
> UseCanonicalName On
>
> TypesConfig /usr/local/apache/conf/mime.types
>
> DefaultType text/plain
>
> <IfModule mod_mime_magic.c>
>     MIMEMagicFile /usr/local/apache/conf/magic
> </IfModule>
>
> 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 combined
>
> ServerSignature On
>
> Alias /icons/ "/usr/local/apache/icons/"
>
> <Directory "/usr/local/apache/icons">
>     Options Indexes MultiViews
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
>
> <Directory "/usr/local/apache/cgi-bin">
>     AllowOverride None
>     Options None
>     Order allow,deny
>     Allow from all
> </Directory>
>
>
>
> 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
>
>
> ReadmeName README
> HeaderName HEADER
>
> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
>
> AddEncoding x-compress Z
> AddEncoding x-gzip gz tgz
>
> AddLanguage en .en
> AddLanguage fr .fr
> AddLanguage de .de
> AddLanguage da .da
> AddLanguage el .el
> AddLanguage it .it
>
> LanguagePriority en fr de
>
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3 .php
> AddType application/x-httpd-php3-source .phps
>
> AddType application/x-tar .tgz
>
>
>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
>
> NameVirtualHost 130.227.13.9
> NameVirtualHost 130.227.171.173
>
>
> <VirtualHost 130.227.13.9>
>     ServerAdmin webmaster@xxxxxx
>     DocumentRoot /usr/local/apache/htdocs/
>     ServerName www.dacaar.org
> </VirtualHost>
>
> <VirtualHost 130.227.171.173>
>     ServerAdmin webmaster@xxxxxx
>     DocumentRoot /usr/local/apache/htdocs/
>     ServerName www.dacaar.org
> </VirtualHost>
>
> <VirtualHost 130.227.171.173>
>     ServerAdmin webmaster@xxxxxx
>     ServerName www.fin.drc.dk
>     DocumentRoot /www/www.fin.drc.dk/html/
> </VirtualHost>
>
> <VirtualHost 130.227.13.9>
>     ServerName www.fin.drc.dk
>     DocumentRoot /www/www.fin.drc.dk/html/
> </VirtualHost>
>
>




References