<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://mars.merhot.dk/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Utte</id>
		<title>Teknologisk videncenter - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://mars.merhot.dk/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Utte"/>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php/Special:Contributions/Utte"/>
		<updated>2026-04-23T20:12:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-40-Java3&amp;diff=19777</id>
		<title>2011-40-Java3</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-40-Java3&amp;diff=19777"/>
				<updated>2011-10-05T07:58:02Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver =&lt;br /&gt;
&lt;br /&gt;
== Kapitel 12 ==&lt;br /&gt;
&lt;br /&gt;
=== Opgave 3 ===&lt;br /&gt;
&lt;br /&gt;
==== Main  ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
public class sorting {&lt;br /&gt;
    public static void main(String[] args) {&lt;br /&gt;
        ArrayList list = new ArrayList();&lt;br /&gt;
        list.add(&amp;quot;tiktak&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;egern&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;kæmpeegern&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;somebodywashere&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;wtf&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;java&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;træls&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;kurt&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;green&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;c#ftw&amp;quot;);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new AscendingCompare());&lt;br /&gt;
        &lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new DescendingCompare());&lt;br /&gt;
&lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new SecondCharAscendingCompare());&lt;br /&gt;
&lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public static void print(ArrayList list)&lt;br /&gt;
    {&lt;br /&gt;
        for(Object str : list)&lt;br /&gt;
        {&lt;br /&gt;
            System.out.println(str.toString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ascending Compare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class AscendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o1.compareTo(o2); //Her sammenligner vi o1 med o2.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Descending Compare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class DescendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o2.compareTo(o1); //Her gør vi det omvendt. o2 sammenligner vi med o1.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
==== SecondCharAscendingCompare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class SecondCharAscendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o1.charAt(1) - o2.charAt(1); //Her tager vi 2nd tegn og bruger char værdien.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-40-Java3&amp;diff=19776</id>
		<title>2011-40-Java3</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-40-Java3&amp;diff=19776"/>
				<updated>2011-10-05T07:55:45Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: Created page with &amp;quot;= Opgaver =  == Kapitel 12 ==  === Opgave 3 ===  ==== Main ====  &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;  import java.util.*; public class sorting {     public static void main(S...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver =&lt;br /&gt;
&lt;br /&gt;
== Kapitel 12 ==&lt;br /&gt;
&lt;br /&gt;
=== Opgave 3 ===&lt;br /&gt;
&lt;br /&gt;
==== Main ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
public class sorting {&lt;br /&gt;
    public static void main(String[] args) {&lt;br /&gt;
        ArrayList list = new ArrayList();&lt;br /&gt;
        list.add(&amp;quot;tiktak&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;egern&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;kæmpeegern&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;somebodywashere&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;wtf&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;java&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;træls&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;kurt&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;green&amp;quot;);&lt;br /&gt;
        list.add(&amp;quot;c#ftw&amp;quot;);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new NormalComparable());&lt;br /&gt;
        &lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new ReverseCompare());&lt;br /&gt;
&lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
        Collections.sort(list,new SecondCharCompare());&lt;br /&gt;
&lt;br /&gt;
        print(list);&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public static void print(ArrayList list)&lt;br /&gt;
    {&lt;br /&gt;
        for(Object str : list)&lt;br /&gt;
        {&lt;br /&gt;
            System.out.println(str.toString());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ascending Compare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class AscendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o1.compareTo(o2); //Her sammenligner vi o1 med o2.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Descending Compare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class DescendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o2.compareTo(o1); //Her gør vi det omvendt. o2 sammenligner vi med o1.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
==== SecondCharAscendingCompare ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;package comparator;&lt;br /&gt;
&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class SecondCharAscendingCompare implements Comparator&amp;lt;String&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    @Override&lt;br /&gt;
    public int compare(String o1, String o2) {&lt;br /&gt;
        return o1.charAt(1) - o2.charAt(1); //Her tager vi 2nd tegn og bruger char værdien.&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19674</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19674"/>
				<updated>2011-09-29T12:03:13Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== DNS  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
acl acl-approved { 192.168.1.0/24; };&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
//      listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
//      dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
//        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
//        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
//      allow-query     { acl-approved; };&lt;br /&gt;
//      allow-recursion { acl-approved; };&lt;br /&gt;
//      recursion yes;&lt;br /&gt;
&lt;br /&gt;
//      dnssec-enable yes;&lt;br /&gt;
//      dnssec-validation yes;&lt;br /&gt;
//      dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
//      bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
//      managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
//logging {&lt;br /&gt;
//        channel default_debug {&lt;br /&gt;
//                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
//                severity dynamic;&lt;br /&gt;
//        };&lt;br /&gt;
//};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.be&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-be.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.be.       IN      SOA     ns1.utoft.be.   hostmaster.utoft.be. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.be.&lt;br /&gt;
                IN      A       192.168.1.10&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      A       172.16.4.119&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Webserver  ==&lt;br /&gt;
&lt;br /&gt;
=== httpd.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# This is the main Apache HTTP server configuration file.  It contains the&lt;br /&gt;
# configuration directives that give the server its instructions.&lt;br /&gt;
# See &amp;lt;URL:http://httpd.apache.org/docs/2.2&amp;gt; for detailed information.&lt;br /&gt;
# In particular, see&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&amp;gt;&lt;br /&gt;
# for a discussion of each configuration directive.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT simply read the instructions in here without understanding&lt;br /&gt;
# what they do.  They're here only as hints or reminders.  If you are unsure&lt;br /&gt;
# consult the online docs. You have been warned.&lt;br /&gt;
#&lt;br /&gt;
# The configuration directives are grouped into three basic sections:&lt;br /&gt;
#  1. Directives that control the operation of the Apache server process as a&lt;br /&gt;
#     whole (the 'global environment').&lt;br /&gt;
#  2. Directives that define the parameters of the 'main' or 'default' server,&lt;br /&gt;
#     which responds to requests that aren't handled by a virtual host.&lt;br /&gt;
#     These directives also provide default values for the settings&lt;br /&gt;
#     of all virtual hosts.&lt;br /&gt;
#  3. Settings for virtual hosts, which allow Web requests to be sent to&lt;br /&gt;
#     different IP addresses or hostnames and have them handled by the&lt;br /&gt;
#     same Apache server process.&lt;br /&gt;
#&lt;br /&gt;
# Configuration and logfile names: If the filenames you specify for many&lt;br /&gt;
# of the server's control files begin with &amp;quot;/&amp;quot; (or &amp;quot;drive:/&amp;quot; for Win32), the&lt;br /&gt;
# server will use that explicit path.  If the filenames do *not* begin&lt;br /&gt;
# with &amp;quot;/&amp;quot;, the value of ServerRoot is prepended -- so &amp;quot;logs/foo.log&amp;quot;&lt;br /&gt;
# with ServerRoot set to &amp;quot;/etc/httpd&amp;quot; will be interpreted by the&lt;br /&gt;
# server as &amp;quot;/etc/httpd/logs/foo.log&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
### Section 1: Global Environment&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section affect the overall operation of Apache,&lt;br /&gt;
# such as the number of concurrent requests it can handle or where it&lt;br /&gt;
# can find its configuration files.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Don't give away too much information about all the subcomponents&lt;br /&gt;
# we are running.  Comment out this line if you don't mind remote sites&lt;br /&gt;
# finding out what major optional modules you are running&lt;br /&gt;
ServerTokens OS&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerRoot: The top of the directory tree under which the server's&lt;br /&gt;
# configuration, error, and log files are kept.&lt;br /&gt;
#&lt;br /&gt;
# NOTE!  If you intend to place this on an NFS (or otherwise network)&lt;br /&gt;
# mounted filesystem then please read the LockFile documentation&lt;br /&gt;
# (available at &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile&amp;gt;);&lt;br /&gt;
# you will save yourself a lot of trouble.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT add a slash at the end of the directory path.&lt;br /&gt;
#&lt;br /&gt;
ServerRoot &amp;quot;/etc/httpd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# PidFile: The file in which the server should record its process&lt;br /&gt;
# identification number when it starts.  Note the PIDFILE variable in&lt;br /&gt;
# /etc/sysconfig/httpd must be set appropriately if this location is&lt;br /&gt;
# changed.&lt;br /&gt;
#&lt;br /&gt;
PidFile run/httpd.pid&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout: The number of seconds before receives and sends time out.&lt;br /&gt;
#&lt;br /&gt;
Timeout 60&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAlive: Whether or not to allow persistent connections (more than&lt;br /&gt;
# one request per connection). Set to &amp;quot;Off&amp;quot; to deactivate.&lt;br /&gt;
#&lt;br /&gt;
KeepAlive Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# MaxKeepAliveRequests: The maximum number of requests to allow&lt;br /&gt;
# during a persistent connection. Set to 0 to allow an unlimited amount.&lt;br /&gt;
# We recommend you leave this number high, for maximum performance.&lt;br /&gt;
#&lt;br /&gt;
MaxKeepAliveRequests 100&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAliveTimeout: Number of seconds to wait for the next request from the&lt;br /&gt;
# same client on the same connection.&lt;br /&gt;
#&lt;br /&gt;
KeepAliveTimeout 5&lt;br /&gt;
&lt;br /&gt;
##&lt;br /&gt;
## Server-Pool Size Regulation (MPM specific)&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
# prefork MPM&lt;br /&gt;
# StartServers: number of server processes to start&lt;br /&gt;
# MinSpareServers: minimum number of server processes which are kept spare&lt;br /&gt;
# MaxSpareServers: maximum number of server processes which are kept spare&lt;br /&gt;
# ServerLimit: maximum value for MaxClients for the lifetime of the server&lt;br /&gt;
# MaxClients: maximum number of server processes allowed to start&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule prefork.c&amp;gt;&lt;br /&gt;
StartServers       8&lt;br /&gt;
MinSpareServers    5&lt;br /&gt;
MaxSpareServers   20&lt;br /&gt;
ServerLimit      256&lt;br /&gt;
MaxClients       256&lt;br /&gt;
MaxRequestsPerChild  4000&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# worker MPM&lt;br /&gt;
# StartServers: initial number of server processes to start&lt;br /&gt;
# MaxClients: maximum number of simultaneous client connections&lt;br /&gt;
# MinSpareThreads: minimum number of worker threads which are kept spare&lt;br /&gt;
# MaxSpareThreads: maximum number of worker threads which are kept spare&lt;br /&gt;
# ThreadsPerChild: constant number of worker threads in each server process&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule worker.c&amp;gt;&lt;br /&gt;
StartServers         4&lt;br /&gt;
MaxClients         300&lt;br /&gt;
MinSpareThreads     25&lt;br /&gt;
MaxSpareThreads     75&lt;br /&gt;
ThreadsPerChild     25&lt;br /&gt;
MaxRequestsPerChild  0&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Listen: Allows you to bind Apache to specific IP addresses and/or&lt;br /&gt;
# ports, instead of the default. See also the &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
# Change this to Listen on specific IP addresses as shown below to&lt;br /&gt;
# prevent Apache from glomming onto all bound IP addresses.&lt;br /&gt;
#&lt;br /&gt;
#Listen 12.34.56.78:80&lt;br /&gt;
Listen 80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Dynamic Shared Object (DSO) Support&lt;br /&gt;
#&lt;br /&gt;
# To be able to use the functionality of a module which was built as a DSO you&lt;br /&gt;
# have to place corresponding `LoadModule' lines at this location so the&lt;br /&gt;
# directives contained in it are actually available _before_ they are used.&lt;br /&gt;
# Statically compiled modules (those listed by `httpd -l') do not need&lt;br /&gt;
# to be loaded here.&lt;br /&gt;
#&lt;br /&gt;
# Example:&lt;br /&gt;
# LoadModule foo_module modules/mod_foo.so&lt;br /&gt;
#&lt;br /&gt;
LoadModule auth_basic_module modules/mod_auth_basic.so&lt;br /&gt;
LoadModule auth_digest_module modules/mod_auth_digest.so&lt;br /&gt;
LoadModule authn_file_module modules/mod_authn_file.so&lt;br /&gt;
LoadModule authn_alias_module modules/mod_authn_alias.so&lt;br /&gt;
LoadModule authn_anon_module modules/mod_authn_anon.so&lt;br /&gt;
LoadModule authn_dbm_module modules/mod_authn_dbm.so&lt;br /&gt;
LoadModule authn_default_module modules/mod_authn_default.so&lt;br /&gt;
LoadModule authz_host_module modules/mod_authz_host.so&lt;br /&gt;
LoadModule authz_user_module modules/mod_authz_user.so&lt;br /&gt;
LoadModule authz_owner_module modules/mod_authz_owner.so&lt;br /&gt;
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so&lt;br /&gt;
LoadModule authz_dbm_module modules/mod_authz_dbm.so&lt;br /&gt;
LoadModule authz_default_module modules/mod_authz_default.so&lt;br /&gt;
LoadModule ldap_module modules/mod_ldap.so&lt;br /&gt;
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so&lt;br /&gt;
LoadModule include_module modules/mod_include.so&lt;br /&gt;
LoadModule log_config_module modules/mod_log_config.so&lt;br /&gt;
LoadModule logio_module modules/mod_logio.so&lt;br /&gt;
LoadModule env_module modules/mod_env.so&lt;br /&gt;
LoadModule ext_filter_module modules/mod_ext_filter.so&lt;br /&gt;
LoadModule mime_magic_module modules/mod_mime_magic.so&lt;br /&gt;
LoadModule expires_module modules/mod_expires.so&lt;br /&gt;
LoadModule deflate_module modules/mod_deflate.so&lt;br /&gt;
LoadModule headers_module modules/mod_headers.so&lt;br /&gt;
LoadModule usertrack_module modules/mod_usertrack.so&lt;br /&gt;
LoadModule setenvif_module modules/mod_setenvif.so&lt;br /&gt;
LoadModule mime_module modules/mod_mime.so&lt;br /&gt;
LoadModule dav_module modules/mod_dav.so&lt;br /&gt;
LoadModule status_module modules/mod_status.so&lt;br /&gt;
LoadModule autoindex_module modules/mod_autoindex.so&lt;br /&gt;
LoadModule info_module modules/mod_info.so&lt;br /&gt;
LoadModule dav_fs_module modules/mod_dav_fs.so&lt;br /&gt;
LoadModule vhost_alias_module modules/mod_vhost_alias.so&lt;br /&gt;
LoadModule negotiation_module modules/mod_negotiation.so&lt;br /&gt;
LoadModule dir_module modules/mod_dir.so&lt;br /&gt;
LoadModule actions_module modules/mod_actions.so&lt;br /&gt;
LoadModule speling_module modules/mod_speling.so&lt;br /&gt;
LoadModule userdir_module modules/mod_userdir.so&lt;br /&gt;
LoadModule alias_module modules/mod_alias.so&lt;br /&gt;
LoadModule substitute_module modules/mod_substitute.so&lt;br /&gt;
LoadModule rewrite_module modules/mod_rewrite.so&lt;br /&gt;
LoadModule proxy_module modules/mod_proxy.so&lt;br /&gt;
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;br /&gt;
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so&lt;br /&gt;
LoadModule proxy_http_module modules/mod_proxy_http.so&lt;br /&gt;
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so&lt;br /&gt;
LoadModule proxy_connect_module modules/mod_proxy_connect.so&lt;br /&gt;
LoadModule cache_module modules/mod_cache.so&lt;br /&gt;
LoadModule suexec_module modules/mod_suexec.so&lt;br /&gt;
LoadModule disk_cache_module modules/mod_disk_cache.so&lt;br /&gt;
LoadModule cgi_module modules/mod_cgi.so&lt;br /&gt;
LoadModule version_module modules/mod_version.so&lt;br /&gt;
#LoadModule php5_module modules/libphp5.so&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following modules are not loaded by default:&lt;br /&gt;
#&lt;br /&gt;
#LoadModule asis_module modules/mod_asis.so&lt;br /&gt;
#LoadModule authn_dbd_module modules/mod_authn_dbd.so&lt;br /&gt;
#LoadModule cern_meta_module modules/mod_cern_meta.so&lt;br /&gt;
#LoadModule cgid_module modules/mod_cgid.so&lt;br /&gt;
#LoadModule dbd_module modules/mod_dbd.so&lt;br /&gt;
#LoadModule dumpio_module modules/mod_dumpio.so&lt;br /&gt;
#LoadModule filter_module modules/mod_filter.so&lt;br /&gt;
#LoadModule ident_module modules/mod_ident.so&lt;br /&gt;
#LoadModule log_forensic_module modules/mod_log_forensic.so&lt;br /&gt;
#LoadModule unique_id_module modules/mod_unique_id.so&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Load config files from the config directory &amp;quot;/etc/httpd/conf.d&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
Include conf.d/*.conf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ExtendedStatus controls whether Apache will generate &amp;quot;full&amp;quot; status&lt;br /&gt;
# information (ExtendedStatus On) or just basic information (ExtendedStatus&lt;br /&gt;
# Off) when the &amp;quot;server-status&amp;quot; handler is called. The default is Off.&lt;br /&gt;
#&lt;br /&gt;
#ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you wish httpd to run as a different user or group, you must run&lt;br /&gt;
# httpd as root initially and it will switch.&lt;br /&gt;
#&lt;br /&gt;
# User/Group: The name (or #number) of the user/group to run httpd as.&lt;br /&gt;
#  . On SCO (ODT 3) use &amp;quot;User nouser&amp;quot; and &amp;quot;Group nogroup&amp;quot;.&lt;br /&gt;
#  . On HPUX you may not be able to use shared memory as nobody, and the&lt;br /&gt;
#    suggested workaround is to create a user www and use that user.&lt;br /&gt;
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)&lt;br /&gt;
#  when the value of (unsigned)Group is above 60000;&lt;br /&gt;
#  don't use Group #-1 on these systems!&lt;br /&gt;
#&lt;br /&gt;
User apache&lt;br /&gt;
Group apache&lt;br /&gt;
&lt;br /&gt;
### Section 2: 'Main' server configuration&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section set up the values used by the 'main'&lt;br /&gt;
# server, which responds to any requests that aren't handled by a&lt;br /&gt;
# &amp;lt;VirtualHost&amp;gt; definition.  These values also provide defaults for&lt;br /&gt;
# any &amp;lt;VirtualHost&amp;gt; containers you may define later in the file.&lt;br /&gt;
#&lt;br /&gt;
# All of these directives may appear inside &amp;lt;VirtualHost&amp;gt; containers,&lt;br /&gt;
# in which case these default settings will be overridden for the&lt;br /&gt;
# virtual host being defined.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerAdmin: Your address, where problems with the server should be&lt;br /&gt;
# e-mailed.  This address appears on some server-generated pages, such&lt;br /&gt;
# as error documents.  e.g. admin@your-domain.com&lt;br /&gt;
#&lt;br /&gt;
ServerAdmin root@localhost&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerName gives the name and port that the server uses to identify itself.&lt;br /&gt;
# This can often be determined automatically, but we recommend you specify&lt;br /&gt;
# it explicitly to prevent problems during startup.&lt;br /&gt;
#&lt;br /&gt;
# If this is not set to valid DNS name for your host, server-generated&lt;br /&gt;
# redirections will not work.  See also the UseCanonicalName directive.&lt;br /&gt;
#&lt;br /&gt;
# If your host doesn't have a registered DNS name, enter its IP address here.&lt;br /&gt;
# You will have to access it by its address anyway, and this will make&lt;br /&gt;
# redirections work in a sensible way.&lt;br /&gt;
#&lt;br /&gt;
#ServerName www.example.com:80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UseCanonicalName: Determines how Apache constructs self-referencing&lt;br /&gt;
# URLs and the SERVER_NAME and SERVER_PORT variables.&lt;br /&gt;
# When set &amp;quot;Off&amp;quot;, Apache will use the Hostname and Port supplied&lt;br /&gt;
# by the client.  When set &amp;quot;On&amp;quot;, Apache will use the value of the&lt;br /&gt;
# ServerName directive.&lt;br /&gt;
#&lt;br /&gt;
UseCanonicalName Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DocumentRoot: The directory out of which you will serve your&lt;br /&gt;
# documents. By default, all requests are taken from this directory, but&lt;br /&gt;
# symbolic links and aliases may be used to point to other locations.&lt;br /&gt;
#&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Each directory to which Apache has access can be configured with respect&lt;br /&gt;
# to which services and features are allowed and/or disabled in that&lt;br /&gt;
# directory (and its subdirectories).&lt;br /&gt;
#&lt;br /&gt;
# First, we configure the &amp;quot;default&amp;quot; to be a very restrictive set of&lt;br /&gt;
# features.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory /&amp;gt;&lt;br /&gt;
    Options FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Note that from this point forward you must specifically allow&lt;br /&gt;
# particular features to be enabled - so if something's not working as&lt;br /&gt;
# you might expect, make sure that you have specifically enabled it&lt;br /&gt;
# below.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# This should be changed to whatever you set DocumentRoot to.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/html&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Possible values for the Options directive are &amp;quot;None&amp;quot;, &amp;quot;All&amp;quot;,&lt;br /&gt;
    # or any combination of:&lt;br /&gt;
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews&lt;br /&gt;
    #&lt;br /&gt;
    # Note that &amp;quot;MultiViews&amp;quot; must be named *explicitly* --- &amp;quot;Options All&amp;quot;&lt;br /&gt;
    # doesn't give it to you.&lt;br /&gt;
    #&lt;br /&gt;
    # The Options directive is both complicated and important.  Please see&lt;br /&gt;
    # http://httpd.apache.org/docs/2.2/mod/core.html#options&lt;br /&gt;
    # for more information.&lt;br /&gt;
    #&lt;br /&gt;
    Options Indexes FollowSymLinks&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # AllowOverride controls what directives may be placed in .htaccess files.&lt;br /&gt;
    # It can be &amp;quot;All&amp;quot;, &amp;quot;None&amp;quot;, or any combination of the keywords:&lt;br /&gt;
    #   Options FileInfo AuthConfig Limit&lt;br /&gt;
    #&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Controls who can get stuff from this server.&lt;br /&gt;
    #&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UserDir: The name of the directory that is appended onto a user's home&lt;br /&gt;
# directory if a ~user request is received.&lt;br /&gt;
#&lt;br /&gt;
# The path to the end user account 'public_html' directory must be&lt;br /&gt;
# accessible to the webserver userid.  This usually means that ~userid&lt;br /&gt;
# must have permissions of 711, ~userid/public_html must have permissions&lt;br /&gt;
# of 755, and documents contained therein must be world-readable.&lt;br /&gt;
# Otherwise, the client will only receive a &amp;quot;403 Forbidden&amp;quot; message.&lt;br /&gt;
#&lt;br /&gt;
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_userdir.c&amp;gt;&lt;br /&gt;
    #&lt;br /&gt;
    # UserDir is disabled by default since it can confirm the presence&lt;br /&gt;
    # of a username on the system (depending on home directory&lt;br /&gt;
    # permissions).&lt;br /&gt;
    #&lt;br /&gt;
    UserDir disabled&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # To enable requests to /~user/ to serve the user's public_html&lt;br /&gt;
    # directory, remove the &amp;quot;UserDir disabled&amp;quot; line above, and uncomment&lt;br /&gt;
    # the following line instead:&lt;br /&gt;
    #&lt;br /&gt;
    #UserDir public_html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Control access to UserDir directories.  The following is an example&lt;br /&gt;
# for a site where these directories are restricted to read-only.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Directory /home/*/public_html&amp;gt;&lt;br /&gt;
#    AllowOverride FileInfo AuthConfig Limit&lt;br /&gt;
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec&lt;br /&gt;
#    &amp;lt;Limit GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order allow,deny&lt;br /&gt;
#        Allow from all&lt;br /&gt;
#    &amp;lt;/Limit&amp;gt;&lt;br /&gt;
#    &amp;lt;LimitExcept GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order deny,allow&lt;br /&gt;
#        Deny from all&lt;br /&gt;
#    &amp;lt;/LimitExcept&amp;gt;&lt;br /&gt;
#&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DirectoryIndex: sets the file that Apache will serve if a directory&lt;br /&gt;
# is requested.&lt;br /&gt;
#&lt;br /&gt;
# The index.html.var file (a type-map) is used to deliver content-&lt;br /&gt;
# negotiated documents.  The MultiViews Option can be used for the&lt;br /&gt;
# same purpose, but it is much slower.&lt;br /&gt;
#&lt;br /&gt;
DirectoryIndex index.html index.html.var&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AccessFileName: The name of the file to look for in each directory&lt;br /&gt;
# for additional configuration directives.  See also the AllowOverride&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
AccessFileName .htaccess&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following lines prevent .htaccess and .htpasswd files from being&lt;br /&gt;
# viewed by Web clients.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;FilesMatch &amp;quot;^\.ht&amp;quot;&amp;gt;&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Deny from all&lt;br /&gt;
    Satisfy All&lt;br /&gt;
&amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# TypesConfig describes where the mime.types file (or equivalent) is&lt;br /&gt;
# to be found.&lt;br /&gt;
#&lt;br /&gt;
TypesConfig /etc/mime.types&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultType is the default MIME type the server will use for a document&lt;br /&gt;
# if it cannot otherwise determine one, such as from filename extensions.&lt;br /&gt;
# If your server contains mostly text or HTML documents, &amp;quot;text/plain&amp;quot; is&lt;br /&gt;
# a good value.  If most of your content is binary, such as applications&lt;br /&gt;
# or images, you may want to use &amp;quot;application/octet-stream&amp;quot; instead to&lt;br /&gt;
# keep browsers from trying to display binary files as though they are&lt;br /&gt;
# text.&lt;br /&gt;
#&lt;br /&gt;
DefaultType text/plain&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The mod_mime_magic module allows the server to use various hints from the&lt;br /&gt;
# contents of the file itself to determine its type.  The MIMEMagicFile&lt;br /&gt;
# directive tells the module where the hint definitions are located.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_mime_magic.c&amp;gt;&lt;br /&gt;
#   MIMEMagicFile /usr/share/magic.mime&lt;br /&gt;
    MIMEMagicFile conf/magic&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# HostnameLookups: Log the names of clients or just their IP addresses&lt;br /&gt;
# e.g., www.apache.org (on) or 204.62.129.132 (off).&lt;br /&gt;
# The default is off because it'd be overall better for the net if people&lt;br /&gt;
# had to knowingly turn this feature on, since enabling it means that&lt;br /&gt;
# each client request will result in AT LEAST one lookup request to the&lt;br /&gt;
# nameserver.&lt;br /&gt;
#&lt;br /&gt;
HostnameLookups Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableMMAP: Control whether memory-mapping is used to deliver&lt;br /&gt;
# files (assuming that the underlying OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  On some systems, turning it off (regardless of&lt;br /&gt;
# filesystem) can improve performance; for details, please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap&lt;br /&gt;
#&lt;br /&gt;
#EnableMMAP off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableSendfile: Control whether the sendfile kernel support is&lt;br /&gt;
# used to deliver files (assuming that the OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  Please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile&lt;br /&gt;
#&lt;br /&gt;
#EnableSendfile off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ErrorLog: The location of the error log file.&lt;br /&gt;
# If you do not specify an ErrorLog directive within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, error messages relating to that virtual host will be&lt;br /&gt;
# logged here.  If you *do* define an error logfile for a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, that host's errors will be logged there and not here.&lt;br /&gt;
#&lt;br /&gt;
ErrorLog logs/error_log&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LogLevel: Control the number of messages logged to the error_log.&lt;br /&gt;
# Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
# alert, emerg.&lt;br /&gt;
#&lt;br /&gt;
LogLevel warn&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives define some format nicknames for use with&lt;br /&gt;
# a CustomLog directive (see below).&lt;br /&gt;
#&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot;&amp;quot; combined&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b&amp;quot; common&lt;br /&gt;
LogFormat &amp;quot;%{Referer}i -&amp;gt; %U&amp;quot; referer&lt;br /&gt;
LogFormat &amp;quot;%{User-agent}i&amp;quot; agent&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;combinedio&amp;quot; includes actual counts of actual bytes received (%I) and sent (%O); this&lt;br /&gt;
# requires the mod_logio module to be loaded.&lt;br /&gt;
#LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot; %I %O&amp;quot; combinedio&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The location and format of the access logfile (Common Logfile Format).&lt;br /&gt;
# If you do not define any access logfiles within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, they will be logged here.  Contrariwise, if you *do*&lt;br /&gt;
# define per-&amp;lt;VirtualHost&amp;gt; access logfiles, transactions will be&lt;br /&gt;
# logged therein and *not* in this file.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/access_log common&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you would like to have separate agent and referer logfiles, uncomment&lt;br /&gt;
# the following directives.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/referer_log referer&lt;br /&gt;
#CustomLog logs/agent_log agent&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For a single logfile with access, agent, and referer information&lt;br /&gt;
# (Combined Logfile Format), use the following directive:&lt;br /&gt;
#&lt;br /&gt;
CustomLog logs/access_log combined&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Optionally add a line containing the server version and virtual host&lt;br /&gt;
# name to server-generated pages (internal error documents, FTP directory&lt;br /&gt;
# listings, mod_status and mod_info output etc., but not CGI generated&lt;br /&gt;
# documents or custom error documents).&lt;br /&gt;
# Set to &amp;quot;EMail&amp;quot; to also include a mailto: link to the ServerAdmin.&lt;br /&gt;
# Set to one of:  On | Off | EMail&lt;br /&gt;
#&lt;br /&gt;
ServerSignature On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Aliases: Add here as many aliases as you need (with no limit). The format is&lt;br /&gt;
# Alias fakename realname&lt;br /&gt;
#&lt;br /&gt;
# Note that if you include a trailing / on fakename then the server will&lt;br /&gt;
# require it to be present in the URL.  So &amp;quot;/icons&amp;quot; isn't aliased in this&lt;br /&gt;
# example, only &amp;quot;/icons/&amp;quot;.  If the fakename is slash-terminated, then the&lt;br /&gt;
# realname must also be slash terminated, and if the fakename omits the&lt;br /&gt;
# trailing slash, the realname must also omit it.&lt;br /&gt;
#&lt;br /&gt;
# We include the /icons/ alias for FancyIndexed directory listings.  If you&lt;br /&gt;
# do not use FancyIndexing, you may comment this out.&lt;br /&gt;
#&lt;br /&gt;
Alias /icons/ &amp;quot;/var/www/icons/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/icons&amp;quot;&amp;gt;&lt;br /&gt;
    Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# WebDAV module configuration section.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_dav_fs.c&amp;gt;&lt;br /&gt;
    # Location of the WebDAV lock database.&lt;br /&gt;
    DAVLockDB /var/lib/dav/lockdb&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ScriptAlias: This controls which directories contain server scripts.&lt;br /&gt;
# ScriptAliases are essentially the same as Aliases, except that&lt;br /&gt;
# documents in the realname directory are treated as applications and&lt;br /&gt;
# run by the server when requested rather than as documents sent to the client.&lt;br /&gt;
# The same rules about trailing &amp;quot;/&amp;quot; apply to ScriptAlias directives as to&lt;br /&gt;
# Alias.&lt;br /&gt;
#&lt;br /&gt;
ScriptAlias /cgi-bin/ &amp;quot;/var/www/cgi-bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# &amp;quot;/var/www/cgi-bin&amp;quot; should be changed to whatever your ScriptAliased&lt;br /&gt;
# CGI directory exists, if you have that configured.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/cgi-bin&amp;quot;&amp;gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Redirect allows you to tell clients about documents which used to exist in&lt;br /&gt;
# your server's namespace, but do not anymore. This allows you to tell the&lt;br /&gt;
# clients where to look for the relocated document.&lt;br /&gt;
# Example:&lt;br /&gt;
# Redirect permanent /foo http://www.example.com/bar&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Directives controlling the display of server-generated directory listings.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexOptions: Controls the appearance of server-generated directory&lt;br /&gt;
# listings.&lt;br /&gt;
#&lt;br /&gt;
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddIcon* directives tell the server which icon to show for different&lt;br /&gt;
# files or filename extensions.  These are only displayed for&lt;br /&gt;
# FancyIndexed directories.&lt;br /&gt;
#&lt;br /&gt;
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip&lt;br /&gt;
&lt;br /&gt;
AddIconByType (TXT,/icons/text.gif) text/*&lt;br /&gt;
AddIconByType (IMG,/icons/image2.gif) image/*&lt;br /&gt;
AddIconByType (SND,/icons/sound2.gif) audio/*&lt;br /&gt;
AddIconByType (VID,/icons/movie.gif) video/*&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/binary.gif .bin .exe&lt;br /&gt;
AddIcon /icons/binhex.gif .hqx&lt;br /&gt;
AddIcon /icons/tar.gif .tar&lt;br /&gt;
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv&lt;br /&gt;
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip&lt;br /&gt;
AddIcon /icons/a.gif .ps .ai .eps&lt;br /&gt;
AddIcon /icons/layout.gif .html .shtml .htm .pdf&lt;br /&gt;
AddIcon /icons/text.gif .txt&lt;br /&gt;
AddIcon /icons/c.gif .c&lt;br /&gt;
AddIcon /icons/p.gif .pl .py&lt;br /&gt;
AddIcon /icons/f.gif .for&lt;br /&gt;
AddIcon /icons/dvi.gif .dvi&lt;br /&gt;
AddIcon /icons/uuencoded.gif .uu&lt;br /&gt;
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl&lt;br /&gt;
AddIcon /icons/tex.gif .tex&lt;br /&gt;
AddIcon /icons/bomb.gif core&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/back.gif ..&lt;br /&gt;
AddIcon /icons/hand.right.gif README&lt;br /&gt;
AddIcon /icons/folder.gif ^^DIRECTORY^^&lt;br /&gt;
AddIcon /icons/blank.gif ^^BLANKICON^^&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultIcon is which icon to show for files which do not have an icon&lt;br /&gt;
# explicitly set.&lt;br /&gt;
#&lt;br /&gt;
DefaultIcon /icons/unknown.gif&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddDescription allows you to place a short description after a file in&lt;br /&gt;
# server-generated indexes.  These are only displayed for FancyIndexed&lt;br /&gt;
# directories.&lt;br /&gt;
# Format: AddDescription &amp;quot;description&amp;quot; filename&lt;br /&gt;
#&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed document&amp;quot; .gz&lt;br /&gt;
#AddDescription &amp;quot;tar archive&amp;quot; .tar&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed tar archive&amp;quot; .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ReadmeName is the name of the README file the server will look for by&lt;br /&gt;
# default, and append to directory listings.&lt;br /&gt;
#&lt;br /&gt;
# HeaderName is the name of a file which should be prepended to&lt;br /&gt;
# directory indexes.&lt;br /&gt;
ReadmeName README.html&lt;br /&gt;
HeaderName HEADER.html&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexIgnore is a set of filenames which directory indexing should ignore&lt;br /&gt;
# and not include in the listing.  Shell-style wildcarding is permitted.&lt;br /&gt;
#&lt;br /&gt;
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage and AddLanguage allows you to specify the language of&lt;br /&gt;
# a document. You can then use content negotiation to give a browser a&lt;br /&gt;
# file in a language the user can understand.&lt;br /&gt;
#&lt;br /&gt;
# Specify a default language. This means that all data&lt;br /&gt;
# going out without a specific language tag (see below) will&lt;br /&gt;
# be marked with this one. You probably do NOT want to set&lt;br /&gt;
# this unless you are sure it is correct for all cases.&lt;br /&gt;
#&lt;br /&gt;
# * It is generally better to not mark a page as&lt;br /&gt;
# * being a certain language than marking it with the wrong&lt;br /&gt;
# * language!&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage nl&lt;br /&gt;
#&lt;br /&gt;
# Note 1: The suffix does not have to be the same as the language&lt;br /&gt;
# keyword --- those with documents in Polish (whose net-standard&lt;br /&gt;
# language code is pl) may wish to use &amp;quot;AddLanguage pl .po&amp;quot; to&lt;br /&gt;
# avoid the ambiguity with the common suffix for perl scripts.&lt;br /&gt;
#&lt;br /&gt;
# Note 2: The example entries below illustrate that in some cases&lt;br /&gt;
# the two character 'Language' abbreviation is not identical to&lt;br /&gt;
# the two character 'Country' code for its country,&lt;br /&gt;
# E.g. 'Danmark/dk' versus 'Danish/da'.&lt;br /&gt;
#&lt;br /&gt;
# Note 3: In the case of 'ltz' we violate the RFC by using a three char&lt;br /&gt;
# specifier. There is 'work in progress' to fix this and get&lt;br /&gt;
# the reference data for rfc1766 cleaned up.&lt;br /&gt;
#&lt;br /&gt;
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)&lt;br /&gt;
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)&lt;br /&gt;
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)&lt;br /&gt;
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)&lt;br /&gt;
# Norwegian (no) - Polish (pl) - Portugese (pt)&lt;br /&gt;
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)&lt;br /&gt;
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)&lt;br /&gt;
#&lt;br /&gt;
AddLanguage ca .ca&lt;br /&gt;
AddLanguage cs .cz .cs&lt;br /&gt;
AddLanguage da .dk&lt;br /&gt;
AddLanguage de .de&lt;br /&gt;
AddLanguage el .el&lt;br /&gt;
AddLanguage en .en&lt;br /&gt;
AddLanguage eo .eo&lt;br /&gt;
AddLanguage es .es&lt;br /&gt;
AddLanguage et .et&lt;br /&gt;
AddLanguage fr .fr&lt;br /&gt;
AddLanguage he .he&lt;br /&gt;
AddLanguage hr .hr&lt;br /&gt;
AddLanguage it .it&lt;br /&gt;
AddLanguage ja .ja&lt;br /&gt;
AddLanguage ko .ko&lt;br /&gt;
AddLanguage ltz .ltz&lt;br /&gt;
AddLanguage nl .nl&lt;br /&gt;
AddLanguage nn .nn&lt;br /&gt;
AddLanguage no .no&lt;br /&gt;
AddLanguage pl .po&lt;br /&gt;
AddLanguage pt .pt&lt;br /&gt;
AddLanguage pt-BR .pt-br&lt;br /&gt;
AddLanguage ru .ru&lt;br /&gt;
AddLanguage sv .sv&lt;br /&gt;
AddLanguage zh-CN .zh-cn&lt;br /&gt;
AddLanguage zh-TW .zh-tw&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LanguagePriority allows you to give precedence to some languages&lt;br /&gt;
# in case of a tie during content negotiation.&lt;br /&gt;
#&lt;br /&gt;
# Just list the languages in decreasing order of preference. We have&lt;br /&gt;
# more or less alphabetized them here. You probably want to change this.&lt;br /&gt;
#&lt;br /&gt;
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ForceLanguagePriority allows you to serve a result page rather than&lt;br /&gt;
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)&lt;br /&gt;
# [in case no accepted languages matched the available variants]&lt;br /&gt;
#&lt;br /&gt;
ForceLanguagePriority Prefer Fallback&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Specify a default charset for all content served; this enables&lt;br /&gt;
# interpretation of all content as UTF-8 by default.  To use the&lt;br /&gt;
# default browser choice (ISO-8859-1), or to allow the META tags&lt;br /&gt;
# in HTML content to override this choice, comment out this&lt;br /&gt;
# directive:&lt;br /&gt;
#&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddType allows you to add to or override the MIME configuration&lt;br /&gt;
# file mime.types for specific file types.&lt;br /&gt;
#&lt;br /&gt;
#AddType application/x-tar .tgz&lt;br /&gt;
&lt;br /&gt;
#PHP Types&lt;br /&gt;
#AddType application/x-httpd-php .php&lt;br /&gt;
#AddType application/x-httpd-php-source phps&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddEncoding allows you to have certain browsers uncompress&lt;br /&gt;
# information on the fly. Note: Not all browsers support this.&lt;br /&gt;
# Despite the name similarity, the following Add* directives have nothing&lt;br /&gt;
# to do with the FancyIndexing customization directives above.&lt;br /&gt;
#&lt;br /&gt;
#AddEncoding x-compress .Z&lt;br /&gt;
#AddEncoding x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
# If the AddEncoding directives above are commented-out, then you&lt;br /&gt;
# probably should define those extensions to indicate media types:&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-compress .Z&lt;br /&gt;
AddType application/x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#   MIME-types for downloading Certificates and CRLs&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-x509-ca-cert .crt&lt;br /&gt;
AddType application/x-pkcs7-crl    .crl&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddHandler allows you to map certain file extensions to &amp;quot;handlers&amp;quot;:&lt;br /&gt;
# actions unrelated to filetype. These can be either built into the server&lt;br /&gt;
# or added with the Action directive (see below)&lt;br /&gt;
#&lt;br /&gt;
# To use CGI scripts outside of ScriptAliased directories:&lt;br /&gt;
# (You will also need to add &amp;quot;ExecCGI&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
#AddHandler cgi-script .cgi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For files that include their own HTTP headers:&lt;br /&gt;
#&lt;br /&gt;
#AddHandler send-as-is asis&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For type maps (negotiated resources):&lt;br /&gt;
# (This is enabled by default to allow the Apache &amp;quot;It Worked&amp;quot; page&lt;br /&gt;
#  to be distributed in multiple languages.)&lt;br /&gt;
#&lt;br /&gt;
AddHandler type-map var&lt;br /&gt;
&lt;br /&gt;
#Add php handler&lt;br /&gt;
#AddHandler php5-script .php&lt;br /&gt;
#&lt;br /&gt;
# Filters allow you to process content before it is sent to the client.&lt;br /&gt;
#&lt;br /&gt;
# To parse .shtml files for server-side includes (SSI):&lt;br /&gt;
# (You will also need to add &amp;quot;Includes&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
AddType text/html .shtml&lt;br /&gt;
AddOutputFilter INCLUDES .shtml&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Action lets you define media types that will execute a script whenever&lt;br /&gt;
# a matching file is called. This eliminates the need for repeated URL&lt;br /&gt;
# pathnames for oft-used CGI file processors.&lt;br /&gt;
# Format: Action media/type /cgi-script/location&lt;br /&gt;
# Format: Action handler-name /cgi-script/location&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Customizable error responses come in three flavors:&lt;br /&gt;
# 1) plain text 2) local redirects 3) external redirects&lt;br /&gt;
#&lt;br /&gt;
# Some examples:&lt;br /&gt;
#ErrorDocument 500 &amp;quot;The server made a boo boo.&amp;quot;&lt;br /&gt;
#ErrorDocument 404 /missing.html&lt;br /&gt;
#ErrorDocument 404 &amp;quot;/cgi-bin/missing_handler.pl&amp;quot;&lt;br /&gt;
#ErrorDocument 402 http://www.example.com/subscription_info.html&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Putting this all together, we can internationalize error responses.&lt;br /&gt;
#&lt;br /&gt;
# We use Alias to redirect any /error/HTTP_&amp;lt;error&amp;gt;.html.var response to&lt;br /&gt;
# our collection of by-error message multi-language collections.  We use&lt;br /&gt;
# includes to substitute the appropriate text.&lt;br /&gt;
#&lt;br /&gt;
# You can modify the messages' appearance without changing any of the&lt;br /&gt;
# default HTTP_&amp;lt;error&amp;gt;.html.var files by adding the line:&lt;br /&gt;
#&lt;br /&gt;
#   Alias /error/include/ &amp;quot;/your/include/path/&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# which allows you to create your own set of files by starting with the&lt;br /&gt;
# /var/www/error/include/ files and&lt;br /&gt;
# copying them to /your/include/path/, even on a per-VirtualHost basis.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
Alias /error/ &amp;quot;/var/www/error/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IfModule mod_negotiation.c&amp;gt;&lt;br /&gt;
&amp;lt;IfModule mod_include.c&amp;gt;&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/error&amp;quot;&amp;gt;&lt;br /&gt;
        AllowOverride None&lt;br /&gt;
        Options IncludesNoExec&lt;br /&gt;
        AddOutputFilter Includes html&lt;br /&gt;
        AddHandler type-map var&lt;br /&gt;
        Order allow,deny&lt;br /&gt;
        Allow from all&lt;br /&gt;
        LanguagePriority en es de fr&lt;br /&gt;
        ForceLanguagePriority Prefer Fallback&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var&lt;br /&gt;
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var&lt;br /&gt;
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var&lt;br /&gt;
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var&lt;br /&gt;
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var&lt;br /&gt;
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var&lt;br /&gt;
#    ErrorDocument 410 /error/HTTP_GONE.html.var&lt;br /&gt;
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var&lt;br /&gt;
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var&lt;br /&gt;
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var&lt;br /&gt;
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var&lt;br /&gt;
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var&lt;br /&gt;
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var&lt;br /&gt;
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var&lt;br /&gt;
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives modify normal HTTP response behavior to&lt;br /&gt;
# handle known problems with browser implementations.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Mozilla/2&amp;quot; nokeepalive&lt;br /&gt;
BrowserMatch &amp;quot;MSIE 4\.0b2;&amp;quot; nokeepalive downgrade-1.0 force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;RealPlayer 4\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;Java/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;JDK/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directive disables redirects on non-GET requests for&lt;br /&gt;
# a directory that does not include the trailing slash.  This fixes a&lt;br /&gt;
# problem with Microsoft WebFolders which does not appropriately handle&lt;br /&gt;
# redirects for folders with DAV methods.&lt;br /&gt;
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Microsoft Data Access Internet Publishing Provider&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;MS FrontPage&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDrive&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDAVFS/1.[0123]&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^gnome-vfs/1.0&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^XML Spy&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^Dreamweaver-WebDAV-SCM1&amp;quot; redirect-carefully&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow server status reports generated by mod_status,&lt;br /&gt;
# with the URL of http://servername/server-status&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-status&amp;gt;&lt;br /&gt;
#    SetHandler server-status&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow remote server configuration reports, with the URL of&lt;br /&gt;
#  http://servername/server-info (requires that mod_info.c be loaded).&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-info&amp;gt;&lt;br /&gt;
#    SetHandler server-info&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Proxy Server directives. Uncomment the following lines to&lt;br /&gt;
# enable the proxy server:&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_proxy.c&amp;gt;&lt;br /&gt;
#ProxyRequests On&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Proxy *&amp;gt;&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Proxy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Enable/disable the handling of HTTP/1.1 &amp;quot;Via:&amp;quot; headers.&lt;br /&gt;
# (&amp;quot;Full&amp;quot; adds the server version; &amp;quot;Block&amp;quot; removes all outgoing Via: headers)&lt;br /&gt;
# Set to one of: Off | On | Full | Block&lt;br /&gt;
#&lt;br /&gt;
#ProxyVia On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# To enable a cache of proxied content, uncomment the following lines.&lt;br /&gt;
# See http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_disk_cache.c&amp;gt;&lt;br /&gt;
#   CacheEnable disk /&lt;br /&gt;
#   CacheRoot &amp;quot;/var/cache/mod_proxy&amp;quot;&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
# End of proxy directives.&lt;br /&gt;
&lt;br /&gt;
### Section 3: Virtual Hosts&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost: If you want to maintain multiple domains/hostnames on your&lt;br /&gt;
# machine you can setup VirtualHost containers for them. Most configurations&lt;br /&gt;
# use only name-based virtual hosts so the server doesn't need to worry about&lt;br /&gt;
# IP addresses. This is indicated by the asterisks in the directives below.&lt;br /&gt;
#&lt;br /&gt;
# Please see the documentation at&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/vhosts/&amp;gt;&lt;br /&gt;
# for further details before you try to setup virtual hosts.&lt;br /&gt;
#&lt;br /&gt;
# You may use the command line option '-S' to verify your virtual host&lt;br /&gt;
# configuration.&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Use name-based virtual hosting.&lt;br /&gt;
#&lt;br /&gt;
#NameVirtualHost *&lt;br /&gt;
#&lt;br /&gt;
# NOTE: NameVirtualHost cannot be used without a port specifier&lt;br /&gt;
# (e.g. :80) if mod_ssl is being used, due to the nature of the&lt;br /&gt;
# SSL protocol.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost example:&lt;br /&gt;
# Almost any Apache directive may go into a VirtualHost container.&lt;br /&gt;
# The first VirtualHost section is used for requests without a known&lt;br /&gt;
# server name.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
#    ServerAdmin webmaster@dummy-host.example.com&lt;br /&gt;
#    DocumentRoot /www/docs/dummy-host.example.com&lt;br /&gt;
#    ServerName dummy-host.example.com&lt;br /&gt;
#    ErrorLog logs/dummy-host.example.com-error_log&lt;br /&gt;
#    CustomLog logs/dummy-host.example.com-access_log common&lt;br /&gt;
#&amp;lt;/VirtualHost&amp;gt;&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== conf.d/mediawiki.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;# This is a sample configuration for a wiki instance located under&lt;br /&gt;
# /var/www/wiki and exposed as http://thishost/wiki. Please read&lt;br /&gt;
# /usr/share/doc/mediawiki-*/README.RPM on whether to use this&lt;br /&gt;
# instance or create copies of it.&lt;br /&gt;
&lt;br /&gt;
# Alias /wiki/skins /usr/share/mediawiki/skins&lt;br /&gt;
# Alias /wiki /var/www/wiki&lt;br /&gt;
&lt;br /&gt;
# If your DocumentRoot points into the wiki itself all that is needed is&lt;br /&gt;
&lt;br /&gt;
NameVirtualHost *&lt;br /&gt;
&lt;br /&gt;
# Alias /skins /usr/share/mediawiki/skins&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;
    ServerName wiki.utoft.be&lt;br /&gt;
    DocumentRoot /var/www/wiki&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/www/wiki&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks&lt;br /&gt;
                Order Deny,Allow&lt;br /&gt;
                Allow from All&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== conf.d/php.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# PHP is an HTML-embedded scripting language which attempts to make it&lt;br /&gt;
# easy for developers to write dynamically generated webpages.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule prefork.c&amp;gt;&lt;br /&gt;
  LoadModule php5_module modules/libphp5.so&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;IfModule worker.c&amp;gt;&lt;br /&gt;
  LoadModule php5_module modules/libphp5-zts.so&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Cause the PHP interpreter to handle files with a .php extension.&lt;br /&gt;
#&lt;br /&gt;
AddHandler php5-script .php&lt;br /&gt;
AddType text/html .php&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Add index.php to the list of files that will be served as directory&lt;br /&gt;
# indexes.&lt;br /&gt;
#&lt;br /&gt;
DirectoryIndex index.php&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Uncomment the following line to allow PHP to pretty-print .phps&lt;br /&gt;
# files as PHP source code:&lt;br /&gt;
#&lt;br /&gt;
#AddType application/x-httpd-php-source .phps&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== conf.d/phpMyAdmin.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;# phpMyAdmin - Web based MySQL browser written in php&lt;br /&gt;
#&lt;br /&gt;
# Allows only localhost by default&lt;br /&gt;
#&lt;br /&gt;
# But allowing phpMyAdmin to anyone other than localhost should be considered&lt;br /&gt;
# dangerous unless properly secured by SSL&lt;br /&gt;
&lt;br /&gt;
Alias /phpMyAdmin /usr/share/phpMyAdmin&lt;br /&gt;
Alias /phpmyadmin /usr/share/phpMyAdmin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/&amp;gt;&lt;br /&gt;
   Order Deny,Allow&lt;br /&gt;
   Deny from All&lt;br /&gt;
   Allow from 127.0.0.1&lt;br /&gt;
   Allow from ::1&lt;br /&gt;
    Allow from 192.168.1.0/24&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/&amp;gt;&lt;br /&gt;
   Order Deny,Allow&lt;br /&gt;
   Deny from All&lt;br /&gt;
   Allow from 127.0.0.1&lt;br /&gt;
   Allow from ::1&lt;br /&gt;
   Allow From 192.168.1.0/24&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# These directories do not require access over HTTP - taken from the original&lt;br /&gt;
# phpMyAdmin upstream tarball&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/libraries/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/lib/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/frames/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# This configuration prevents mod_security at phpMyAdmin directories from&lt;br /&gt;
# filtering SQL etc.  This may break your mod_security implementation.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_security.c&amp;gt;&lt;br /&gt;
#    &amp;lt;Directory /usr/share/phpMyAdmin/&amp;gt;&lt;br /&gt;
#        SecRuleInheritance Off&lt;br /&gt;
#    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== conf.d/welcome.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# This configuration file enables the default &amp;quot;Welcome&amp;quot;&lt;br /&gt;
# page if there is no default index page present for&lt;br /&gt;
# the root URL.  To disable the Welcome page, comment&lt;br /&gt;
# out all the lines below.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;LocationMatch &amp;quot;^/+$&amp;quot;&amp;gt;&lt;br /&gt;
#    Options -Indexes&lt;br /&gt;
#    ErrorDocument 403 /error/noindex.html&lt;br /&gt;
#&amp;lt;/LocationMatch&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19668</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19668"/>
				<updated>2011-09-28T10:14:34Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Config */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== DNS  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
acl acl-approved { 192.168.1.0/24; };&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
//      listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
//      dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
//        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
//        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
//      allow-query     { acl-approved; };&lt;br /&gt;
//      allow-recursion { acl-approved; };&lt;br /&gt;
//      recursion yes;&lt;br /&gt;
&lt;br /&gt;
//      dnssec-enable yes;&lt;br /&gt;
//      dnssec-validation yes;&lt;br /&gt;
//      dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
//      bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
//      managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
//logging {&lt;br /&gt;
//        channel default_debug {&lt;br /&gt;
//                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
//                severity dynamic;&lt;br /&gt;
//        };&lt;br /&gt;
//};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.be&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-be.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.be.       IN      SOA     ns1.utoft.be.   hostmaster.utoft.be. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.be.&lt;br /&gt;
                IN      A       192.168.1.10&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      A       172.16.4.119&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Webserver  ==&lt;br /&gt;
&lt;br /&gt;
=== httpd.conf  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# This is the main Apache HTTP server configuration file.  It contains the&lt;br /&gt;
# configuration directives that give the server its instructions.&lt;br /&gt;
# See &amp;lt;URL:http://httpd.apache.org/docs/2.2&amp;gt; for detailed information.&lt;br /&gt;
# In particular, see&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&amp;gt;&lt;br /&gt;
# for a discussion of each configuration directive.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT simply read the instructions in here without understanding&lt;br /&gt;
# what they do.  They're here only as hints or reminders.  If you are unsure&lt;br /&gt;
# consult the online docs. You have been warned.&lt;br /&gt;
#&lt;br /&gt;
# The configuration directives are grouped into three basic sections:&lt;br /&gt;
#  1. Directives that control the operation of the Apache server process as a&lt;br /&gt;
#     whole (the 'global environment').&lt;br /&gt;
#  2. Directives that define the parameters of the 'main' or 'default' server,&lt;br /&gt;
#     which responds to requests that aren't handled by a virtual host.&lt;br /&gt;
#     These directives also provide default values for the settings&lt;br /&gt;
#     of all virtual hosts.&lt;br /&gt;
#  3. Settings for virtual hosts, which allow Web requests to be sent to&lt;br /&gt;
#     different IP addresses or hostnames and have them handled by the&lt;br /&gt;
#     same Apache server process.&lt;br /&gt;
#&lt;br /&gt;
# Configuration and logfile names: If the filenames you specify for many&lt;br /&gt;
# of the server's control files begin with &amp;quot;/&amp;quot; (or &amp;quot;drive:/&amp;quot; for Win32), the&lt;br /&gt;
# server will use that explicit path.  If the filenames do *not* begin&lt;br /&gt;
# with &amp;quot;/&amp;quot;, the value of ServerRoot is prepended -- so &amp;quot;logs/foo.log&amp;quot;&lt;br /&gt;
# with ServerRoot set to &amp;quot;/etc/httpd&amp;quot; will be interpreted by the&lt;br /&gt;
# server as &amp;quot;/etc/httpd/logs/foo.log&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
### Section 1: Global Environment&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section affect the overall operation of Apache,&lt;br /&gt;
# such as the number of concurrent requests it can handle or where it&lt;br /&gt;
# can find its configuration files.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Don't give away too much information about all the subcomponents&lt;br /&gt;
# we are running.  Comment out this line if you don't mind remote sites&lt;br /&gt;
# finding out what major optional modules you are running&lt;br /&gt;
ServerTokens OS&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerRoot: The top of the directory tree under which the server's&lt;br /&gt;
# configuration, error, and log files are kept.&lt;br /&gt;
#&lt;br /&gt;
# NOTE!  If you intend to place this on an NFS (or otherwise network)&lt;br /&gt;
# mounted filesystem then please read the LockFile documentation&lt;br /&gt;
# (available at &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile&amp;gt;);&lt;br /&gt;
# you will save yourself a lot of trouble.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT add a slash at the end of the directory path.&lt;br /&gt;
#&lt;br /&gt;
ServerRoot &amp;quot;/etc/httpd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# PidFile: The file in which the server should record its process&lt;br /&gt;
# identification number when it starts.  Note the PIDFILE variable in&lt;br /&gt;
# /etc/sysconfig/httpd must be set appropriately if this location is&lt;br /&gt;
# changed.&lt;br /&gt;
#&lt;br /&gt;
PidFile run/httpd.pid&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout: The number of seconds before receives and sends time out.&lt;br /&gt;
#&lt;br /&gt;
Timeout 60&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAlive: Whether or not to allow persistent connections (more than&lt;br /&gt;
# one request per connection). Set to &amp;quot;Off&amp;quot; to deactivate.&lt;br /&gt;
#&lt;br /&gt;
KeepAlive Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# MaxKeepAliveRequests: The maximum number of requests to allow&lt;br /&gt;
# during a persistent connection. Set to 0 to allow an unlimited amount.&lt;br /&gt;
# We recommend you leave this number high, for maximum performance.&lt;br /&gt;
#&lt;br /&gt;
MaxKeepAliveRequests 100&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAliveTimeout: Number of seconds to wait for the next request from the&lt;br /&gt;
# same client on the same connection.&lt;br /&gt;
#&lt;br /&gt;
KeepAliveTimeout 5&lt;br /&gt;
&lt;br /&gt;
##&lt;br /&gt;
## Server-Pool Size Regulation (MPM specific)&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
# prefork MPM&lt;br /&gt;
# StartServers: number of server processes to start&lt;br /&gt;
# MinSpareServers: minimum number of server processes which are kept spare&lt;br /&gt;
# MaxSpareServers: maximum number of server processes which are kept spare&lt;br /&gt;
# ServerLimit: maximum value for MaxClients for the lifetime of the server&lt;br /&gt;
# MaxClients: maximum number of server processes allowed to start&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule prefork.c&amp;gt;&lt;br /&gt;
StartServers       8&lt;br /&gt;
MinSpareServers    5&lt;br /&gt;
MaxSpareServers   20&lt;br /&gt;
ServerLimit      256&lt;br /&gt;
MaxClients       256&lt;br /&gt;
MaxRequestsPerChild  4000&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# worker MPM&lt;br /&gt;
# StartServers: initial number of server processes to start&lt;br /&gt;
# MaxClients: maximum number of simultaneous client connections&lt;br /&gt;
# MinSpareThreads: minimum number of worker threads which are kept spare&lt;br /&gt;
# MaxSpareThreads: maximum number of worker threads which are kept spare&lt;br /&gt;
# ThreadsPerChild: constant number of worker threads in each server process&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule worker.c&amp;gt;&lt;br /&gt;
StartServers         4&lt;br /&gt;
MaxClients         300&lt;br /&gt;
MinSpareThreads     25&lt;br /&gt;
MaxSpareThreads     75&lt;br /&gt;
ThreadsPerChild     25&lt;br /&gt;
MaxRequestsPerChild  0&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Listen: Allows you to bind Apache to specific IP addresses and/or&lt;br /&gt;
# ports, instead of the default. See also the &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
# Change this to Listen on specific IP addresses as shown below to&lt;br /&gt;
# prevent Apache from glomming onto all bound IP addresses.&lt;br /&gt;
#&lt;br /&gt;
#Listen 12.34.56.78:80&lt;br /&gt;
Listen 80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Dynamic Shared Object (DSO) Support&lt;br /&gt;
#&lt;br /&gt;
# To be able to use the functionality of a module which was built as a DSO you&lt;br /&gt;
# have to place corresponding `LoadModule' lines at this location so the&lt;br /&gt;
# directives contained in it are actually available _before_ they are used.&lt;br /&gt;
# Statically compiled modules (those listed by `httpd -l') do not need&lt;br /&gt;
# to be loaded here.&lt;br /&gt;
#&lt;br /&gt;
# Example:&lt;br /&gt;
# LoadModule foo_module modules/mod_foo.so&lt;br /&gt;
#&lt;br /&gt;
LoadModule auth_basic_module modules/mod_auth_basic.so&lt;br /&gt;
LoadModule auth_digest_module modules/mod_auth_digest.so&lt;br /&gt;
LoadModule authn_file_module modules/mod_authn_file.so&lt;br /&gt;
LoadModule authn_alias_module modules/mod_authn_alias.so&lt;br /&gt;
LoadModule authn_anon_module modules/mod_authn_anon.so&lt;br /&gt;
LoadModule authn_dbm_module modules/mod_authn_dbm.so&lt;br /&gt;
LoadModule authn_default_module modules/mod_authn_default.so&lt;br /&gt;
LoadModule authz_host_module modules/mod_authz_host.so&lt;br /&gt;
LoadModule authz_user_module modules/mod_authz_user.so&lt;br /&gt;
LoadModule authz_owner_module modules/mod_authz_owner.so&lt;br /&gt;
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so&lt;br /&gt;
LoadModule authz_dbm_module modules/mod_authz_dbm.so&lt;br /&gt;
LoadModule authz_default_module modules/mod_authz_default.so&lt;br /&gt;
LoadModule ldap_module modules/mod_ldap.so&lt;br /&gt;
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so&lt;br /&gt;
LoadModule include_module modules/mod_include.so&lt;br /&gt;
LoadModule log_config_module modules/mod_log_config.so&lt;br /&gt;
LoadModule logio_module modules/mod_logio.so&lt;br /&gt;
LoadModule env_module modules/mod_env.so&lt;br /&gt;
LoadModule ext_filter_module modules/mod_ext_filter.so&lt;br /&gt;
LoadModule mime_magic_module modules/mod_mime_magic.so&lt;br /&gt;
LoadModule expires_module modules/mod_expires.so&lt;br /&gt;
LoadModule deflate_module modules/mod_deflate.so&lt;br /&gt;
LoadModule headers_module modules/mod_headers.so&lt;br /&gt;
LoadModule usertrack_module modules/mod_usertrack.so&lt;br /&gt;
LoadModule setenvif_module modules/mod_setenvif.so&lt;br /&gt;
LoadModule mime_module modules/mod_mime.so&lt;br /&gt;
LoadModule dav_module modules/mod_dav.so&lt;br /&gt;
LoadModule status_module modules/mod_status.so&lt;br /&gt;
LoadModule autoindex_module modules/mod_autoindex.so&lt;br /&gt;
LoadModule info_module modules/mod_info.so&lt;br /&gt;
LoadModule dav_fs_module modules/mod_dav_fs.so&lt;br /&gt;
LoadModule vhost_alias_module modules/mod_vhost_alias.so&lt;br /&gt;
LoadModule negotiation_module modules/mod_negotiation.so&lt;br /&gt;
LoadModule dir_module modules/mod_dir.so&lt;br /&gt;
LoadModule actions_module modules/mod_actions.so&lt;br /&gt;
LoadModule speling_module modules/mod_speling.so&lt;br /&gt;
LoadModule userdir_module modules/mod_userdir.so&lt;br /&gt;
LoadModule alias_module modules/mod_alias.so&lt;br /&gt;
LoadModule substitute_module modules/mod_substitute.so&lt;br /&gt;
LoadModule rewrite_module modules/mod_rewrite.so&lt;br /&gt;
LoadModule proxy_module modules/mod_proxy.so&lt;br /&gt;
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;br /&gt;
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so&lt;br /&gt;
LoadModule proxy_http_module modules/mod_proxy_http.so&lt;br /&gt;
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so&lt;br /&gt;
LoadModule proxy_connect_module modules/mod_proxy_connect.so&lt;br /&gt;
LoadModule cache_module modules/mod_cache.so&lt;br /&gt;
LoadModule suexec_module modules/mod_suexec.so&lt;br /&gt;
LoadModule disk_cache_module modules/mod_disk_cache.so&lt;br /&gt;
LoadModule cgi_module modules/mod_cgi.so&lt;br /&gt;
LoadModule version_module modules/mod_version.so&lt;br /&gt;
#LoadModule php5_module modules/libphp5.so&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following modules are not loaded by default:&lt;br /&gt;
#&lt;br /&gt;
#LoadModule asis_module modules/mod_asis.so&lt;br /&gt;
#LoadModule authn_dbd_module modules/mod_authn_dbd.so&lt;br /&gt;
#LoadModule cern_meta_module modules/mod_cern_meta.so&lt;br /&gt;
#LoadModule cgid_module modules/mod_cgid.so&lt;br /&gt;
#LoadModule dbd_module modules/mod_dbd.so&lt;br /&gt;
#LoadModule dumpio_module modules/mod_dumpio.so&lt;br /&gt;
#LoadModule filter_module modules/mod_filter.so&lt;br /&gt;
#LoadModule ident_module modules/mod_ident.so&lt;br /&gt;
#LoadModule log_forensic_module modules/mod_log_forensic.so&lt;br /&gt;
#LoadModule unique_id_module modules/mod_unique_id.so&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Load config files from the config directory &amp;quot;/etc/httpd/conf.d&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
Include conf.d/*.conf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ExtendedStatus controls whether Apache will generate &amp;quot;full&amp;quot; status&lt;br /&gt;
# information (ExtendedStatus On) or just basic information (ExtendedStatus&lt;br /&gt;
# Off) when the &amp;quot;server-status&amp;quot; handler is called. The default is Off.&lt;br /&gt;
#&lt;br /&gt;
#ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you wish httpd to run as a different user or group, you must run&lt;br /&gt;
# httpd as root initially and it will switch.&lt;br /&gt;
#&lt;br /&gt;
# User/Group: The name (or #number) of the user/group to run httpd as.&lt;br /&gt;
#  . On SCO (ODT 3) use &amp;quot;User nouser&amp;quot; and &amp;quot;Group nogroup&amp;quot;.&lt;br /&gt;
#  . On HPUX you may not be able to use shared memory as nobody, and the&lt;br /&gt;
#    suggested workaround is to create a user www and use that user.&lt;br /&gt;
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)&lt;br /&gt;
#  when the value of (unsigned)Group is above 60000;&lt;br /&gt;
#  don't use Group #-1 on these systems!&lt;br /&gt;
#&lt;br /&gt;
User apache&lt;br /&gt;
Group apache&lt;br /&gt;
&lt;br /&gt;
### Section 2: 'Main' server configuration&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section set up the values used by the 'main'&lt;br /&gt;
# server, which responds to any requests that aren't handled by a&lt;br /&gt;
# &amp;lt;VirtualHost&amp;gt; definition.  These values also provide defaults for&lt;br /&gt;
# any &amp;lt;VirtualHost&amp;gt; containers you may define later in the file.&lt;br /&gt;
#&lt;br /&gt;
# All of these directives may appear inside &amp;lt;VirtualHost&amp;gt; containers,&lt;br /&gt;
# in which case these default settings will be overridden for the&lt;br /&gt;
# virtual host being defined.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerAdmin: Your address, where problems with the server should be&lt;br /&gt;
# e-mailed.  This address appears on some server-generated pages, such&lt;br /&gt;
# as error documents.  e.g. admin@your-domain.com&lt;br /&gt;
#&lt;br /&gt;
ServerAdmin root@localhost&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerName gives the name and port that the server uses to identify itself.&lt;br /&gt;
# This can often be determined automatically, but we recommend you specify&lt;br /&gt;
# it explicitly to prevent problems during startup.&lt;br /&gt;
#&lt;br /&gt;
# If this is not set to valid DNS name for your host, server-generated&lt;br /&gt;
# redirections will not work.  See also the UseCanonicalName directive.&lt;br /&gt;
#&lt;br /&gt;
# If your host doesn't have a registered DNS name, enter its IP address here.&lt;br /&gt;
# You will have to access it by its address anyway, and this will make&lt;br /&gt;
# redirections work in a sensible way.&lt;br /&gt;
#&lt;br /&gt;
#ServerName www.example.com:80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UseCanonicalName: Determines how Apache constructs self-referencing&lt;br /&gt;
# URLs and the SERVER_NAME and SERVER_PORT variables.&lt;br /&gt;
# When set &amp;quot;Off&amp;quot;, Apache will use the Hostname and Port supplied&lt;br /&gt;
# by the client.  When set &amp;quot;On&amp;quot;, Apache will use the value of the&lt;br /&gt;
# ServerName directive.&lt;br /&gt;
#&lt;br /&gt;
UseCanonicalName Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DocumentRoot: The directory out of which you will serve your&lt;br /&gt;
# documents. By default, all requests are taken from this directory, but&lt;br /&gt;
# symbolic links and aliases may be used to point to other locations.&lt;br /&gt;
#&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Each directory to which Apache has access can be configured with respect&lt;br /&gt;
# to which services and features are allowed and/or disabled in that&lt;br /&gt;
# directory (and its subdirectories).&lt;br /&gt;
#&lt;br /&gt;
# First, we configure the &amp;quot;default&amp;quot; to be a very restrictive set of&lt;br /&gt;
# features.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory /&amp;gt;&lt;br /&gt;
    Options FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Note that from this point forward you must specifically allow&lt;br /&gt;
# particular features to be enabled - so if something's not working as&lt;br /&gt;
# you might expect, make sure that you have specifically enabled it&lt;br /&gt;
# below.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# This should be changed to whatever you set DocumentRoot to.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/html&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Possible values for the Options directive are &amp;quot;None&amp;quot;, &amp;quot;All&amp;quot;,&lt;br /&gt;
    # or any combination of:&lt;br /&gt;
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews&lt;br /&gt;
    #&lt;br /&gt;
    # Note that &amp;quot;MultiViews&amp;quot; must be named *explicitly* --- &amp;quot;Options All&amp;quot;&lt;br /&gt;
    # doesn't give it to you.&lt;br /&gt;
    #&lt;br /&gt;
    # The Options directive is both complicated and important.  Please see&lt;br /&gt;
    # http://httpd.apache.org/docs/2.2/mod/core.html#options&lt;br /&gt;
    # for more information.&lt;br /&gt;
    #&lt;br /&gt;
    Options Indexes FollowSymLinks&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # AllowOverride controls what directives may be placed in .htaccess files.&lt;br /&gt;
    # It can be &amp;quot;All&amp;quot;, &amp;quot;None&amp;quot;, or any combination of the keywords:&lt;br /&gt;
    #   Options FileInfo AuthConfig Limit&lt;br /&gt;
    #&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Controls who can get stuff from this server.&lt;br /&gt;
    #&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UserDir: The name of the directory that is appended onto a user's home&lt;br /&gt;
# directory if a ~user request is received.&lt;br /&gt;
#&lt;br /&gt;
# The path to the end user account 'public_html' directory must be&lt;br /&gt;
# accessible to the webserver userid.  This usually means that ~userid&lt;br /&gt;
# must have permissions of 711, ~userid/public_html must have permissions&lt;br /&gt;
# of 755, and documents contained therein must be world-readable.&lt;br /&gt;
# Otherwise, the client will only receive a &amp;quot;403 Forbidden&amp;quot; message.&lt;br /&gt;
#&lt;br /&gt;
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_userdir.c&amp;gt;&lt;br /&gt;
    #&lt;br /&gt;
    # UserDir is disabled by default since it can confirm the presence&lt;br /&gt;
    # of a username on the system (depending on home directory&lt;br /&gt;
    # permissions).&lt;br /&gt;
    #&lt;br /&gt;
    UserDir disabled&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # To enable requests to /~user/ to serve the user's public_html&lt;br /&gt;
    # directory, remove the &amp;quot;UserDir disabled&amp;quot; line above, and uncomment&lt;br /&gt;
    # the following line instead:&lt;br /&gt;
    #&lt;br /&gt;
    #UserDir public_html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Control access to UserDir directories.  The following is an example&lt;br /&gt;
# for a site where these directories are restricted to read-only.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Directory /home/*/public_html&amp;gt;&lt;br /&gt;
#    AllowOverride FileInfo AuthConfig Limit&lt;br /&gt;
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec&lt;br /&gt;
#    &amp;lt;Limit GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order allow,deny&lt;br /&gt;
#        Allow from all&lt;br /&gt;
#    &amp;lt;/Limit&amp;gt;&lt;br /&gt;
#    &amp;lt;LimitExcept GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order deny,allow&lt;br /&gt;
#        Deny from all&lt;br /&gt;
#    &amp;lt;/LimitExcept&amp;gt;&lt;br /&gt;
#&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DirectoryIndex: sets the file that Apache will serve if a directory&lt;br /&gt;
# is requested.&lt;br /&gt;
#&lt;br /&gt;
# The index.html.var file (a type-map) is used to deliver content-&lt;br /&gt;
# negotiated documents.  The MultiViews Option can be used for the&lt;br /&gt;
# same purpose, but it is much slower.&lt;br /&gt;
#&lt;br /&gt;
DirectoryIndex index.html index.html.var&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AccessFileName: The name of the file to look for in each directory&lt;br /&gt;
# for additional configuration directives.  See also the AllowOverride&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
AccessFileName .htaccess&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following lines prevent .htaccess and .htpasswd files from being&lt;br /&gt;
# viewed by Web clients.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;FilesMatch &amp;quot;^\.ht&amp;quot;&amp;gt;&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Deny from all&lt;br /&gt;
    Satisfy All&lt;br /&gt;
&amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# TypesConfig describes where the mime.types file (or equivalent) is&lt;br /&gt;
# to be found.&lt;br /&gt;
#&lt;br /&gt;
TypesConfig /etc/mime.types&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultType is the default MIME type the server will use for a document&lt;br /&gt;
# if it cannot otherwise determine one, such as from filename extensions.&lt;br /&gt;
# If your server contains mostly text or HTML documents, &amp;quot;text/plain&amp;quot; is&lt;br /&gt;
# a good value.  If most of your content is binary, such as applications&lt;br /&gt;
# or images, you may want to use &amp;quot;application/octet-stream&amp;quot; instead to&lt;br /&gt;
# keep browsers from trying to display binary files as though they are&lt;br /&gt;
# text.&lt;br /&gt;
#&lt;br /&gt;
DefaultType text/plain&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The mod_mime_magic module allows the server to use various hints from the&lt;br /&gt;
# contents of the file itself to determine its type.  The MIMEMagicFile&lt;br /&gt;
# directive tells the module where the hint definitions are located.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_mime_magic.c&amp;gt;&lt;br /&gt;
#   MIMEMagicFile /usr/share/magic.mime&lt;br /&gt;
    MIMEMagicFile conf/magic&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# HostnameLookups: Log the names of clients or just their IP addresses&lt;br /&gt;
# e.g., www.apache.org (on) or 204.62.129.132 (off).&lt;br /&gt;
# The default is off because it'd be overall better for the net if people&lt;br /&gt;
# had to knowingly turn this feature on, since enabling it means that&lt;br /&gt;
# each client request will result in AT LEAST one lookup request to the&lt;br /&gt;
# nameserver.&lt;br /&gt;
#&lt;br /&gt;
HostnameLookups Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableMMAP: Control whether memory-mapping is used to deliver&lt;br /&gt;
# files (assuming that the underlying OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  On some systems, turning it off (regardless of&lt;br /&gt;
# filesystem) can improve performance; for details, please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap&lt;br /&gt;
#&lt;br /&gt;
#EnableMMAP off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableSendfile: Control whether the sendfile kernel support is&lt;br /&gt;
# used to deliver files (assuming that the OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  Please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile&lt;br /&gt;
#&lt;br /&gt;
#EnableSendfile off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ErrorLog: The location of the error log file.&lt;br /&gt;
# If you do not specify an ErrorLog directive within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, error messages relating to that virtual host will be&lt;br /&gt;
# logged here.  If you *do* define an error logfile for a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, that host's errors will be logged there and not here.&lt;br /&gt;
#&lt;br /&gt;
ErrorLog logs/error_log&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LogLevel: Control the number of messages logged to the error_log.&lt;br /&gt;
# Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
# alert, emerg.&lt;br /&gt;
#&lt;br /&gt;
LogLevel warn&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives define some format nicknames for use with&lt;br /&gt;
# a CustomLog directive (see below).&lt;br /&gt;
#&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot;&amp;quot; combined&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b&amp;quot; common&lt;br /&gt;
LogFormat &amp;quot;%{Referer}i -&amp;gt; %U&amp;quot; referer&lt;br /&gt;
LogFormat &amp;quot;%{User-agent}i&amp;quot; agent&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;combinedio&amp;quot; includes actual counts of actual bytes received (%I) and sent (%O); this&lt;br /&gt;
# requires the mod_logio module to be loaded.&lt;br /&gt;
#LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot; %I %O&amp;quot; combinedio&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The location and format of the access logfile (Common Logfile Format).&lt;br /&gt;
# If you do not define any access logfiles within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, they will be logged here.  Contrariwise, if you *do*&lt;br /&gt;
# define per-&amp;lt;VirtualHost&amp;gt; access logfiles, transactions will be&lt;br /&gt;
# logged therein and *not* in this file.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/access_log common&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you would like to have separate agent and referer logfiles, uncomment&lt;br /&gt;
# the following directives.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/referer_log referer&lt;br /&gt;
#CustomLog logs/agent_log agent&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For a single logfile with access, agent, and referer information&lt;br /&gt;
# (Combined Logfile Format), use the following directive:&lt;br /&gt;
#&lt;br /&gt;
CustomLog logs/access_log combined&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Optionally add a line containing the server version and virtual host&lt;br /&gt;
# name to server-generated pages (internal error documents, FTP directory&lt;br /&gt;
# listings, mod_status and mod_info output etc., but not CGI generated&lt;br /&gt;
# documents or custom error documents).&lt;br /&gt;
# Set to &amp;quot;EMail&amp;quot; to also include a mailto: link to the ServerAdmin.&lt;br /&gt;
# Set to one of:  On | Off | EMail&lt;br /&gt;
#&lt;br /&gt;
ServerSignature On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Aliases: Add here as many aliases as you need (with no limit). The format is&lt;br /&gt;
# Alias fakename realname&lt;br /&gt;
#&lt;br /&gt;
# Note that if you include a trailing / on fakename then the server will&lt;br /&gt;
# require it to be present in the URL.  So &amp;quot;/icons&amp;quot; isn't aliased in this&lt;br /&gt;
# example, only &amp;quot;/icons/&amp;quot;.  If the fakename is slash-terminated, then the&lt;br /&gt;
# realname must also be slash terminated, and if the fakename omits the&lt;br /&gt;
# trailing slash, the realname must also omit it.&lt;br /&gt;
#&lt;br /&gt;
# We include the /icons/ alias for FancyIndexed directory listings.  If you&lt;br /&gt;
# do not use FancyIndexing, you may comment this out.&lt;br /&gt;
#&lt;br /&gt;
Alias /icons/ &amp;quot;/var/www/icons/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/icons&amp;quot;&amp;gt;&lt;br /&gt;
    Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# WebDAV module configuration section.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_dav_fs.c&amp;gt;&lt;br /&gt;
    # Location of the WebDAV lock database.&lt;br /&gt;
    DAVLockDB /var/lib/dav/lockdb&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ScriptAlias: This controls which directories contain server scripts.&lt;br /&gt;
# ScriptAliases are essentially the same as Aliases, except that&lt;br /&gt;
# documents in the realname directory are treated as applications and&lt;br /&gt;
# run by the server when requested rather than as documents sent to the client.&lt;br /&gt;
# The same rules about trailing &amp;quot;/&amp;quot; apply to ScriptAlias directives as to&lt;br /&gt;
# Alias.&lt;br /&gt;
#&lt;br /&gt;
ScriptAlias /cgi-bin/ &amp;quot;/var/www/cgi-bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# &amp;quot;/var/www/cgi-bin&amp;quot; should be changed to whatever your ScriptAliased&lt;br /&gt;
# CGI directory exists, if you have that configured.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/cgi-bin&amp;quot;&amp;gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Redirect allows you to tell clients about documents which used to exist in&lt;br /&gt;
# your server's namespace, but do not anymore. This allows you to tell the&lt;br /&gt;
# clients where to look for the relocated document.&lt;br /&gt;
# Example:&lt;br /&gt;
# Redirect permanent /foo http://www.example.com/bar&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Directives controlling the display of server-generated directory listings.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexOptions: Controls the appearance of server-generated directory&lt;br /&gt;
# listings.&lt;br /&gt;
#&lt;br /&gt;
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddIcon* directives tell the server which icon to show for different&lt;br /&gt;
# files or filename extensions.  These are only displayed for&lt;br /&gt;
# FancyIndexed directories.&lt;br /&gt;
#&lt;br /&gt;
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip&lt;br /&gt;
&lt;br /&gt;
AddIconByType (TXT,/icons/text.gif) text/*&lt;br /&gt;
AddIconByType (IMG,/icons/image2.gif) image/*&lt;br /&gt;
AddIconByType (SND,/icons/sound2.gif) audio/*&lt;br /&gt;
AddIconByType (VID,/icons/movie.gif) video/*&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/binary.gif .bin .exe&lt;br /&gt;
AddIcon /icons/binhex.gif .hqx&lt;br /&gt;
AddIcon /icons/tar.gif .tar&lt;br /&gt;
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv&lt;br /&gt;
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip&lt;br /&gt;
AddIcon /icons/a.gif .ps .ai .eps&lt;br /&gt;
AddIcon /icons/layout.gif .html .shtml .htm .pdf&lt;br /&gt;
AddIcon /icons/text.gif .txt&lt;br /&gt;
AddIcon /icons/c.gif .c&lt;br /&gt;
AddIcon /icons/p.gif .pl .py&lt;br /&gt;
AddIcon /icons/f.gif .for&lt;br /&gt;
AddIcon /icons/dvi.gif .dvi&lt;br /&gt;
AddIcon /icons/uuencoded.gif .uu&lt;br /&gt;
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl&lt;br /&gt;
AddIcon /icons/tex.gif .tex&lt;br /&gt;
AddIcon /icons/bomb.gif core&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/back.gif ..&lt;br /&gt;
AddIcon /icons/hand.right.gif README&lt;br /&gt;
AddIcon /icons/folder.gif ^^DIRECTORY^^&lt;br /&gt;
AddIcon /icons/blank.gif ^^BLANKICON^^&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultIcon is which icon to show for files which do not have an icon&lt;br /&gt;
# explicitly set.&lt;br /&gt;
#&lt;br /&gt;
DefaultIcon /icons/unknown.gif&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddDescription allows you to place a short description after a file in&lt;br /&gt;
# server-generated indexes.  These are only displayed for FancyIndexed&lt;br /&gt;
# directories.&lt;br /&gt;
# Format: AddDescription &amp;quot;description&amp;quot; filename&lt;br /&gt;
#&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed document&amp;quot; .gz&lt;br /&gt;
#AddDescription &amp;quot;tar archive&amp;quot; .tar&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed tar archive&amp;quot; .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ReadmeName is the name of the README file the server will look for by&lt;br /&gt;
# default, and append to directory listings.&lt;br /&gt;
#&lt;br /&gt;
# HeaderName is the name of a file which should be prepended to&lt;br /&gt;
# directory indexes.&lt;br /&gt;
ReadmeName README.html&lt;br /&gt;
HeaderName HEADER.html&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexIgnore is a set of filenames which directory indexing should ignore&lt;br /&gt;
# and not include in the listing.  Shell-style wildcarding is permitted.&lt;br /&gt;
#&lt;br /&gt;
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage and AddLanguage allows you to specify the language of&lt;br /&gt;
# a document. You can then use content negotiation to give a browser a&lt;br /&gt;
# file in a language the user can understand.&lt;br /&gt;
#&lt;br /&gt;
# Specify a default language. This means that all data&lt;br /&gt;
# going out without a specific language tag (see below) will&lt;br /&gt;
# be marked with this one. You probably do NOT want to set&lt;br /&gt;
# this unless you are sure it is correct for all cases.&lt;br /&gt;
#&lt;br /&gt;
# * It is generally better to not mark a page as&lt;br /&gt;
# * being a certain language than marking it with the wrong&lt;br /&gt;
# * language!&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage nl&lt;br /&gt;
#&lt;br /&gt;
# Note 1: The suffix does not have to be the same as the language&lt;br /&gt;
# keyword --- those with documents in Polish (whose net-standard&lt;br /&gt;
# language code is pl) may wish to use &amp;quot;AddLanguage pl .po&amp;quot; to&lt;br /&gt;
# avoid the ambiguity with the common suffix for perl scripts.&lt;br /&gt;
#&lt;br /&gt;
# Note 2: The example entries below illustrate that in some cases&lt;br /&gt;
# the two character 'Language' abbreviation is not identical to&lt;br /&gt;
# the two character 'Country' code for its country,&lt;br /&gt;
# E.g. 'Danmark/dk' versus 'Danish/da'.&lt;br /&gt;
#&lt;br /&gt;
# Note 3: In the case of 'ltz' we violate the RFC by using a three char&lt;br /&gt;
# specifier. There is 'work in progress' to fix this and get&lt;br /&gt;
# the reference data for rfc1766 cleaned up.&lt;br /&gt;
#&lt;br /&gt;
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)&lt;br /&gt;
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)&lt;br /&gt;
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)&lt;br /&gt;
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)&lt;br /&gt;
# Norwegian (no) - Polish (pl) - Portugese (pt)&lt;br /&gt;
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)&lt;br /&gt;
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)&lt;br /&gt;
#&lt;br /&gt;
AddLanguage ca .ca&lt;br /&gt;
AddLanguage cs .cz .cs&lt;br /&gt;
AddLanguage da .dk&lt;br /&gt;
AddLanguage de .de&lt;br /&gt;
AddLanguage el .el&lt;br /&gt;
AddLanguage en .en&lt;br /&gt;
AddLanguage eo .eo&lt;br /&gt;
AddLanguage es .es&lt;br /&gt;
AddLanguage et .et&lt;br /&gt;
AddLanguage fr .fr&lt;br /&gt;
AddLanguage he .he&lt;br /&gt;
AddLanguage hr .hr&lt;br /&gt;
AddLanguage it .it&lt;br /&gt;
AddLanguage ja .ja&lt;br /&gt;
AddLanguage ko .ko&lt;br /&gt;
AddLanguage ltz .ltz&lt;br /&gt;
AddLanguage nl .nl&lt;br /&gt;
AddLanguage nn .nn&lt;br /&gt;
AddLanguage no .no&lt;br /&gt;
AddLanguage pl .po&lt;br /&gt;
AddLanguage pt .pt&lt;br /&gt;
AddLanguage pt-BR .pt-br&lt;br /&gt;
AddLanguage ru .ru&lt;br /&gt;
AddLanguage sv .sv&lt;br /&gt;
AddLanguage zh-CN .zh-cn&lt;br /&gt;
AddLanguage zh-TW .zh-tw&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LanguagePriority allows you to give precedence to some languages&lt;br /&gt;
# in case of a tie during content negotiation.&lt;br /&gt;
#&lt;br /&gt;
# Just list the languages in decreasing order of preference. We have&lt;br /&gt;
# more or less alphabetized them here. You probably want to change this.&lt;br /&gt;
#&lt;br /&gt;
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ForceLanguagePriority allows you to serve a result page rather than&lt;br /&gt;
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)&lt;br /&gt;
# [in case no accepted languages matched the available variants]&lt;br /&gt;
#&lt;br /&gt;
ForceLanguagePriority Prefer Fallback&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Specify a default charset for all content served; this enables&lt;br /&gt;
# interpretation of all content as UTF-8 by default.  To use the&lt;br /&gt;
# default browser choice (ISO-8859-1), or to allow the META tags&lt;br /&gt;
# in HTML content to override this choice, comment out this&lt;br /&gt;
# directive:&lt;br /&gt;
#&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddType allows you to add to or override the MIME configuration&lt;br /&gt;
# file mime.types for specific file types.&lt;br /&gt;
#&lt;br /&gt;
#AddType application/x-tar .tgz&lt;br /&gt;
&lt;br /&gt;
#PHP Types&lt;br /&gt;
#AddType application/x-httpd-php .php&lt;br /&gt;
#AddType application/x-httpd-php-source phps&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddEncoding allows you to have certain browsers uncompress&lt;br /&gt;
# information on the fly. Note: Not all browsers support this.&lt;br /&gt;
# Despite the name similarity, the following Add* directives have nothing&lt;br /&gt;
# to do with the FancyIndexing customization directives above.&lt;br /&gt;
#&lt;br /&gt;
#AddEncoding x-compress .Z&lt;br /&gt;
#AddEncoding x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
# If the AddEncoding directives above are commented-out, then you&lt;br /&gt;
# probably should define those extensions to indicate media types:&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-compress .Z&lt;br /&gt;
AddType application/x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#   MIME-types for downloading Certificates and CRLs&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-x509-ca-cert .crt&lt;br /&gt;
AddType application/x-pkcs7-crl    .crl&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddHandler allows you to map certain file extensions to &amp;quot;handlers&amp;quot;:&lt;br /&gt;
# actions unrelated to filetype. These can be either built into the server&lt;br /&gt;
# or added with the Action directive (see below)&lt;br /&gt;
#&lt;br /&gt;
# To use CGI scripts outside of ScriptAliased directories:&lt;br /&gt;
# (You will also need to add &amp;quot;ExecCGI&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
#AddHandler cgi-script .cgi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For files that include their own HTTP headers:&lt;br /&gt;
#&lt;br /&gt;
#AddHandler send-as-is asis&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For type maps (negotiated resources):&lt;br /&gt;
# (This is enabled by default to allow the Apache &amp;quot;It Worked&amp;quot; page&lt;br /&gt;
#  to be distributed in multiple languages.)&lt;br /&gt;
#&lt;br /&gt;
AddHandler type-map var&lt;br /&gt;
&lt;br /&gt;
#Add php handler&lt;br /&gt;
#AddHandler php5-script .php&lt;br /&gt;
#&lt;br /&gt;
# Filters allow you to process content before it is sent to the client.&lt;br /&gt;
#&lt;br /&gt;
# To parse .shtml files for server-side includes (SSI):&lt;br /&gt;
# (You will also need to add &amp;quot;Includes&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
AddType text/html .shtml&lt;br /&gt;
AddOutputFilter INCLUDES .shtml&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Action lets you define media types that will execute a script whenever&lt;br /&gt;
# a matching file is called. This eliminates the need for repeated URL&lt;br /&gt;
# pathnames for oft-used CGI file processors.&lt;br /&gt;
# Format: Action media/type /cgi-script/location&lt;br /&gt;
# Format: Action handler-name /cgi-script/location&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Customizable error responses come in three flavors:&lt;br /&gt;
# 1) plain text 2) local redirects 3) external redirects&lt;br /&gt;
#&lt;br /&gt;
# Some examples:&lt;br /&gt;
#ErrorDocument 500 &amp;quot;The server made a boo boo.&amp;quot;&lt;br /&gt;
#ErrorDocument 404 /missing.html&lt;br /&gt;
#ErrorDocument 404 &amp;quot;/cgi-bin/missing_handler.pl&amp;quot;&lt;br /&gt;
#ErrorDocument 402 http://www.example.com/subscription_info.html&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Putting this all together, we can internationalize error responses.&lt;br /&gt;
#&lt;br /&gt;
# We use Alias to redirect any /error/HTTP_&amp;lt;error&amp;gt;.html.var response to&lt;br /&gt;
# our collection of by-error message multi-language collections.  We use&lt;br /&gt;
# includes to substitute the appropriate text.&lt;br /&gt;
#&lt;br /&gt;
# You can modify the messages' appearance without changing any of the&lt;br /&gt;
# default HTTP_&amp;lt;error&amp;gt;.html.var files by adding the line:&lt;br /&gt;
#&lt;br /&gt;
#   Alias /error/include/ &amp;quot;/your/include/path/&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# which allows you to create your own set of files by starting with the&lt;br /&gt;
# /var/www/error/include/ files and&lt;br /&gt;
# copying them to /your/include/path/, even on a per-VirtualHost basis.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
Alias /error/ &amp;quot;/var/www/error/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IfModule mod_negotiation.c&amp;gt;&lt;br /&gt;
&amp;lt;IfModule mod_include.c&amp;gt;&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/error&amp;quot;&amp;gt;&lt;br /&gt;
        AllowOverride None&lt;br /&gt;
        Options IncludesNoExec&lt;br /&gt;
        AddOutputFilter Includes html&lt;br /&gt;
        AddHandler type-map var&lt;br /&gt;
        Order allow,deny&lt;br /&gt;
        Allow from all&lt;br /&gt;
        LanguagePriority en es de fr&lt;br /&gt;
        ForceLanguagePriority Prefer Fallback&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var&lt;br /&gt;
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var&lt;br /&gt;
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var&lt;br /&gt;
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var&lt;br /&gt;
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var&lt;br /&gt;
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var&lt;br /&gt;
#    ErrorDocument 410 /error/HTTP_GONE.html.var&lt;br /&gt;
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var&lt;br /&gt;
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var&lt;br /&gt;
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var&lt;br /&gt;
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var&lt;br /&gt;
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var&lt;br /&gt;
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var&lt;br /&gt;
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var&lt;br /&gt;
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives modify normal HTTP response behavior to&lt;br /&gt;
# handle known problems with browser implementations.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Mozilla/2&amp;quot; nokeepalive&lt;br /&gt;
BrowserMatch &amp;quot;MSIE 4\.0b2;&amp;quot; nokeepalive downgrade-1.0 force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;RealPlayer 4\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;Java/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;JDK/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directive disables redirects on non-GET requests for&lt;br /&gt;
# a directory that does not include the trailing slash.  This fixes a&lt;br /&gt;
# problem with Microsoft WebFolders which does not appropriately handle&lt;br /&gt;
# redirects for folders with DAV methods.&lt;br /&gt;
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Microsoft Data Access Internet Publishing Provider&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;MS FrontPage&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDrive&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDAVFS/1.[0123]&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^gnome-vfs/1.0&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^XML Spy&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^Dreamweaver-WebDAV-SCM1&amp;quot; redirect-carefully&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow server status reports generated by mod_status,&lt;br /&gt;
# with the URL of http://servername/server-status&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-status&amp;gt;&lt;br /&gt;
#    SetHandler server-status&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow remote server configuration reports, with the URL of&lt;br /&gt;
#  http://servername/server-info (requires that mod_info.c be loaded).&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-info&amp;gt;&lt;br /&gt;
#    SetHandler server-info&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Proxy Server directives. Uncomment the following lines to&lt;br /&gt;
# enable the proxy server:&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_proxy.c&amp;gt;&lt;br /&gt;
#ProxyRequests On&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Proxy *&amp;gt;&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Proxy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Enable/disable the handling of HTTP/1.1 &amp;quot;Via:&amp;quot; headers.&lt;br /&gt;
# (&amp;quot;Full&amp;quot; adds the server version; &amp;quot;Block&amp;quot; removes all outgoing Via: headers)&lt;br /&gt;
# Set to one of: Off | On | Full | Block&lt;br /&gt;
#&lt;br /&gt;
#ProxyVia On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# To enable a cache of proxied content, uncomment the following lines.&lt;br /&gt;
# See http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_disk_cache.c&amp;gt;&lt;br /&gt;
#   CacheEnable disk /&lt;br /&gt;
#   CacheRoot &amp;quot;/var/cache/mod_proxy&amp;quot;&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
# End of proxy directives.&lt;br /&gt;
&lt;br /&gt;
### Section 3: Virtual Hosts&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost: If you want to maintain multiple domains/hostnames on your&lt;br /&gt;
# machine you can setup VirtualHost containers for them. Most configurations&lt;br /&gt;
# use only name-based virtual hosts so the server doesn't need to worry about&lt;br /&gt;
# IP addresses. This is indicated by the asterisks in the directives below.&lt;br /&gt;
#&lt;br /&gt;
# Please see the documentation at&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/vhosts/&amp;gt;&lt;br /&gt;
# for further details before you try to setup virtual hosts.&lt;br /&gt;
#&lt;br /&gt;
# You may use the command line option '-S' to verify your virtual host&lt;br /&gt;
# configuration.&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Use name-based virtual hosting.&lt;br /&gt;
#&lt;br /&gt;
#NameVirtualHost *&lt;br /&gt;
#&lt;br /&gt;
# NOTE: NameVirtualHost cannot be used without a port specifier&lt;br /&gt;
# (e.g. :80) if mod_ssl is being used, due to the nature of the&lt;br /&gt;
# SSL protocol.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost example:&lt;br /&gt;
# Almost any Apache directive may go into a VirtualHost container.&lt;br /&gt;
# The first VirtualHost section is used for requests without a known&lt;br /&gt;
# server name.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
#    ServerAdmin webmaster@dummy-host.example.com&lt;br /&gt;
#    DocumentRoot /www/docs/dummy-host.example.com&lt;br /&gt;
#    ServerName dummy-host.example.com&lt;br /&gt;
#    ErrorLog logs/dummy-host.example.com-error_log&lt;br /&gt;
#    CustomLog logs/dummy-host.example.com-access_log common&lt;br /&gt;
#&amp;lt;/VirtualHost&amp;gt;&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== conf.d/mediawiki.conf ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;# This is a sample configuration for a wiki instance located under&lt;br /&gt;
# /var/www/wiki and exposed as http://thishost/wiki. Please read&lt;br /&gt;
# /usr/share/doc/mediawiki-*/README.RPM on whether to use this&lt;br /&gt;
# instance or create copies of it.&lt;br /&gt;
&lt;br /&gt;
# Alias /wiki/skins /usr/share/mediawiki/skins&lt;br /&gt;
# Alias /wiki /var/www/wiki&lt;br /&gt;
&lt;br /&gt;
# If your DocumentRoot points into the wiki itself all that is needed is&lt;br /&gt;
&lt;br /&gt;
NameVirtualHost *&lt;br /&gt;
&lt;br /&gt;
# Alias /skins /usr/share/mediawiki/skins&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;
    ServerName wiki.utoft.be&lt;br /&gt;
    DocumentRoot /var/www/wiki&lt;br /&gt;
        &amp;lt;Directory &amp;quot;/var/www/wiki&amp;quot;&amp;gt;&lt;br /&gt;
                Options Indexes FollowSymLinks&lt;br /&gt;
                Order Deny,Allow&lt;br /&gt;
                Allow from All&lt;br /&gt;
        &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== conf.d/php.conf ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# PHP is an HTML-embedded scripting language which attempts to make it&lt;br /&gt;
# easy for developers to write dynamically generated webpages.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule prefork.c&amp;gt;&lt;br /&gt;
  LoadModule php5_module modules/libphp5.so&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;IfModule worker.c&amp;gt;&lt;br /&gt;
  LoadModule php5_module modules/libphp5-zts.so&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Cause the PHP interpreter to handle files with a .php extension.&lt;br /&gt;
#&lt;br /&gt;
AddHandler php5-script .php&lt;br /&gt;
AddType text/html .php&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Add index.php to the list of files that will be served as directory&lt;br /&gt;
# indexes.&lt;br /&gt;
#&lt;br /&gt;
DirectoryIndex index.php&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Uncomment the following line to allow PHP to pretty-print .phps&lt;br /&gt;
# files as PHP source code:&lt;br /&gt;
#&lt;br /&gt;
#AddType application/x-httpd-php-source .phps&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== conf.d/phpMyAdmin.conf ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;# phpMyAdmin - Web based MySQL browser written in php&lt;br /&gt;
#&lt;br /&gt;
# Allows only localhost by default&lt;br /&gt;
#&lt;br /&gt;
# But allowing phpMyAdmin to anyone other than localhost should be considered&lt;br /&gt;
# dangerous unless properly secured by SSL&lt;br /&gt;
&lt;br /&gt;
Alias /phpMyAdmin /usr/share/phpMyAdmin&lt;br /&gt;
Alias /phpmyadmin /usr/share/phpMyAdmin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/&amp;gt;&lt;br /&gt;
   Order Deny,Allow&lt;br /&gt;
   Deny from All&lt;br /&gt;
   Allow from 127.0.0.1&lt;br /&gt;
   Allow from ::1&lt;br /&gt;
    Allow from 192.168.1.0/24&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/&amp;gt;&lt;br /&gt;
   Order Deny,Allow&lt;br /&gt;
   Deny from All&lt;br /&gt;
   Allow from 127.0.0.1&lt;br /&gt;
   Allow from ::1&lt;br /&gt;
   Allow From 192.168.1.0/24&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# These directories do not require access over HTTP - taken from the original&lt;br /&gt;
# phpMyAdmin upstream tarball&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/libraries/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/lib/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /usr/share/phpMyAdmin/setup/frames/&amp;gt;&lt;br /&gt;
    Order Deny,Allow&lt;br /&gt;
    Deny from All&lt;br /&gt;
    Allow from None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# This configuration prevents mod_security at phpMyAdmin directories from&lt;br /&gt;
# filtering SQL etc.  This may break your mod_security implementation.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_security.c&amp;gt;&lt;br /&gt;
#    &amp;lt;Directory /usr/share/phpMyAdmin/&amp;gt;&lt;br /&gt;
#        SecRuleInheritance Off&lt;br /&gt;
#    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== conf.d/welcome.conf ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# This configuration file enables the default &amp;quot;Welcome&amp;quot;&lt;br /&gt;
# page if there is no default index page present for&lt;br /&gt;
# the root URL.  To disable the Welcome page, comment&lt;br /&gt;
# out all the lines below.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;LocationMatch &amp;quot;^/+$&amp;quot;&amp;gt;&lt;br /&gt;
#    Options -Indexes&lt;br /&gt;
#    ErrorDocument 403 /error/noindex.html&lt;br /&gt;
#&amp;lt;/LocationMatch&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19666</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19666"/>
				<updated>2011-09-28T09:34:05Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Config */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== DNS  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
acl acl-approved { 192.168.1.0/24; };&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
//      listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
//      dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
//        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
//        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
//      allow-query     { acl-approved; };&lt;br /&gt;
//      allow-recursion { acl-approved; };&lt;br /&gt;
//      recursion yes;&lt;br /&gt;
&lt;br /&gt;
//      dnssec-enable yes;&lt;br /&gt;
//      dnssec-validation yes;&lt;br /&gt;
//      dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
//      bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
//      managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
//logging {&lt;br /&gt;
//        channel default_debug {&lt;br /&gt;
//                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
//                severity dynamic;&lt;br /&gt;
//        };&lt;br /&gt;
//};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.be&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-be.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.be.       IN      SOA     ns1.utoft.be.   hostmaster.utoft.be. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.be.&lt;br /&gt;
                IN      A       192.168.1.10&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      A       172.16.4.119&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Webserver ==&lt;br /&gt;
&lt;br /&gt;
=== httpd.conf ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#&lt;br /&gt;
# This is the main Apache HTTP server configuration file.  It contains the&lt;br /&gt;
# configuration directives that give the server its instructions.&lt;br /&gt;
# See &amp;lt;URL:http://httpd.apache.org/docs/2.2&amp;gt; for detailed information.&lt;br /&gt;
# In particular, see&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&amp;gt;&lt;br /&gt;
# for a discussion of each configuration directive.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT simply read the instructions in here without understanding&lt;br /&gt;
# what they do.  They're here only as hints or reminders.  If you are unsure&lt;br /&gt;
# consult the online docs. You have been warned.&lt;br /&gt;
#&lt;br /&gt;
# The configuration directives are grouped into three basic sections:&lt;br /&gt;
#  1. Directives that control the operation of the Apache server process as a&lt;br /&gt;
#     whole (the 'global environment').&lt;br /&gt;
#  2. Directives that define the parameters of the 'main' or 'default' server,&lt;br /&gt;
#     which responds to requests that aren't handled by a virtual host.&lt;br /&gt;
#     These directives also provide default values for the settings&lt;br /&gt;
#     of all virtual hosts.&lt;br /&gt;
#  3. Settings for virtual hosts, which allow Web requests to be sent to&lt;br /&gt;
#     different IP addresses or hostnames and have them handled by the&lt;br /&gt;
#     same Apache server process.&lt;br /&gt;
#&lt;br /&gt;
# Configuration and logfile names: If the filenames you specify for many&lt;br /&gt;
# of the server's control files begin with &amp;quot;/&amp;quot; (or &amp;quot;drive:/&amp;quot; for Win32), the&lt;br /&gt;
# server will use that explicit path.  If the filenames do *not* begin&lt;br /&gt;
# with &amp;quot;/&amp;quot;, the value of ServerRoot is prepended -- so &amp;quot;logs/foo.log&amp;quot;&lt;br /&gt;
# with ServerRoot set to &amp;quot;/etc/httpd&amp;quot; will be interpreted by the&lt;br /&gt;
# server as &amp;quot;/etc/httpd/logs/foo.log&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
### Section 1: Global Environment&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section affect the overall operation of Apache,&lt;br /&gt;
# such as the number of concurrent requests it can handle or where it&lt;br /&gt;
# can find its configuration files.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Don't give away too much information about all the subcomponents&lt;br /&gt;
# we are running.  Comment out this line if you don't mind remote sites&lt;br /&gt;
# finding out what major optional modules you are running&lt;br /&gt;
ServerTokens OS&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerRoot: The top of the directory tree under which the server's&lt;br /&gt;
# configuration, error, and log files are kept.&lt;br /&gt;
#&lt;br /&gt;
# NOTE!  If you intend to place this on an NFS (or otherwise network)&lt;br /&gt;
# mounted filesystem then please read the LockFile documentation&lt;br /&gt;
# (available at &amp;lt;URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile&amp;gt;);&lt;br /&gt;
# you will save yourself a lot of trouble.&lt;br /&gt;
#&lt;br /&gt;
# Do NOT add a slash at the end of the directory path.&lt;br /&gt;
#&lt;br /&gt;
ServerRoot &amp;quot;/etc/httpd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# PidFile: The file in which the server should record its process&lt;br /&gt;
# identification number when it starts.  Note the PIDFILE variable in&lt;br /&gt;
# /etc/sysconfig/httpd must be set appropriately if this location is&lt;br /&gt;
# changed.&lt;br /&gt;
#&lt;br /&gt;
PidFile run/httpd.pid&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Timeout: The number of seconds before receives and sends time out.&lt;br /&gt;
#&lt;br /&gt;
Timeout 60&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAlive: Whether or not to allow persistent connections (more than&lt;br /&gt;
# one request per connection). Set to &amp;quot;Off&amp;quot; to deactivate.&lt;br /&gt;
#&lt;br /&gt;
KeepAlive Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# MaxKeepAliveRequests: The maximum number of requests to allow&lt;br /&gt;
# during a persistent connection. Set to 0 to allow an unlimited amount.&lt;br /&gt;
# We recommend you leave this number high, for maximum performance.&lt;br /&gt;
#&lt;br /&gt;
MaxKeepAliveRequests 100&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# KeepAliveTimeout: Number of seconds to wait for the next request from the&lt;br /&gt;
# same client on the same connection.&lt;br /&gt;
#&lt;br /&gt;
KeepAliveTimeout 5&lt;br /&gt;
&lt;br /&gt;
##&lt;br /&gt;
## Server-Pool Size Regulation (MPM specific)&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
# prefork MPM&lt;br /&gt;
# StartServers: number of server processes to start&lt;br /&gt;
# MinSpareServers: minimum number of server processes which are kept spare&lt;br /&gt;
# MaxSpareServers: maximum number of server processes which are kept spare&lt;br /&gt;
# ServerLimit: maximum value for MaxClients for the lifetime of the server&lt;br /&gt;
# MaxClients: maximum number of server processes allowed to start&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule prefork.c&amp;gt;&lt;br /&gt;
StartServers       8&lt;br /&gt;
MinSpareServers    5&lt;br /&gt;
MaxSpareServers   20&lt;br /&gt;
ServerLimit      256&lt;br /&gt;
MaxClients       256&lt;br /&gt;
MaxRequestsPerChild  4000&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# worker MPM&lt;br /&gt;
# StartServers: initial number of server processes to start&lt;br /&gt;
# MaxClients: maximum number of simultaneous client connections&lt;br /&gt;
# MinSpareThreads: minimum number of worker threads which are kept spare&lt;br /&gt;
# MaxSpareThreads: maximum number of worker threads which are kept spare&lt;br /&gt;
# ThreadsPerChild: constant number of worker threads in each server process&lt;br /&gt;
# MaxRequestsPerChild: maximum number of requests a server process serves&lt;br /&gt;
&amp;lt;IfModule worker.c&amp;gt;&lt;br /&gt;
StartServers         4&lt;br /&gt;
MaxClients         300&lt;br /&gt;
MinSpareThreads     25&lt;br /&gt;
MaxSpareThreads     75&lt;br /&gt;
ThreadsPerChild     25&lt;br /&gt;
MaxRequestsPerChild  0&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Listen: Allows you to bind Apache to specific IP addresses and/or&lt;br /&gt;
# ports, instead of the default. See also the &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
# Change this to Listen on specific IP addresses as shown below to&lt;br /&gt;
# prevent Apache from glomming onto all bound IP addresses.&lt;br /&gt;
#&lt;br /&gt;
#Listen 12.34.56.78:80&lt;br /&gt;
Listen 80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Dynamic Shared Object (DSO) Support&lt;br /&gt;
#&lt;br /&gt;
# To be able to use the functionality of a module which was built as a DSO you&lt;br /&gt;
# have to place corresponding `LoadModule' lines at this location so the&lt;br /&gt;
# directives contained in it are actually available _before_ they are used.&lt;br /&gt;
# Statically compiled modules (those listed by `httpd -l') do not need&lt;br /&gt;
# to be loaded here.&lt;br /&gt;
#&lt;br /&gt;
# Example:&lt;br /&gt;
# LoadModule foo_module modules/mod_foo.so&lt;br /&gt;
#&lt;br /&gt;
LoadModule auth_basic_module modules/mod_auth_basic.so&lt;br /&gt;
LoadModule auth_digest_module modules/mod_auth_digest.so&lt;br /&gt;
LoadModule authn_file_module modules/mod_authn_file.so&lt;br /&gt;
LoadModule authn_alias_module modules/mod_authn_alias.so&lt;br /&gt;
LoadModule authn_anon_module modules/mod_authn_anon.so&lt;br /&gt;
LoadModule authn_dbm_module modules/mod_authn_dbm.so&lt;br /&gt;
LoadModule authn_default_module modules/mod_authn_default.so&lt;br /&gt;
LoadModule authz_host_module modules/mod_authz_host.so&lt;br /&gt;
LoadModule authz_user_module modules/mod_authz_user.so&lt;br /&gt;
LoadModule authz_owner_module modules/mod_authz_owner.so&lt;br /&gt;
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so&lt;br /&gt;
LoadModule authz_dbm_module modules/mod_authz_dbm.so&lt;br /&gt;
LoadModule authz_default_module modules/mod_authz_default.so&lt;br /&gt;
LoadModule ldap_module modules/mod_ldap.so&lt;br /&gt;
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so&lt;br /&gt;
LoadModule include_module modules/mod_include.so&lt;br /&gt;
LoadModule log_config_module modules/mod_log_config.so&lt;br /&gt;
LoadModule logio_module modules/mod_logio.so&lt;br /&gt;
LoadModule env_module modules/mod_env.so&lt;br /&gt;
LoadModule ext_filter_module modules/mod_ext_filter.so&lt;br /&gt;
LoadModule mime_magic_module modules/mod_mime_magic.so&lt;br /&gt;
LoadModule expires_module modules/mod_expires.so&lt;br /&gt;
LoadModule deflate_module modules/mod_deflate.so&lt;br /&gt;
LoadModule headers_module modules/mod_headers.so&lt;br /&gt;
LoadModule usertrack_module modules/mod_usertrack.so&lt;br /&gt;
LoadModule setenvif_module modules/mod_setenvif.so&lt;br /&gt;
LoadModule mime_module modules/mod_mime.so&lt;br /&gt;
LoadModule dav_module modules/mod_dav.so&lt;br /&gt;
LoadModule status_module modules/mod_status.so&lt;br /&gt;
LoadModule autoindex_module modules/mod_autoindex.so&lt;br /&gt;
LoadModule info_module modules/mod_info.so&lt;br /&gt;
LoadModule dav_fs_module modules/mod_dav_fs.so&lt;br /&gt;
LoadModule vhost_alias_module modules/mod_vhost_alias.so&lt;br /&gt;
LoadModule negotiation_module modules/mod_negotiation.so&lt;br /&gt;
LoadModule dir_module modules/mod_dir.so&lt;br /&gt;
LoadModule actions_module modules/mod_actions.so&lt;br /&gt;
LoadModule speling_module modules/mod_speling.so&lt;br /&gt;
LoadModule userdir_module modules/mod_userdir.so&lt;br /&gt;
LoadModule alias_module modules/mod_alias.so&lt;br /&gt;
LoadModule substitute_module modules/mod_substitute.so&lt;br /&gt;
LoadModule rewrite_module modules/mod_rewrite.so&lt;br /&gt;
LoadModule proxy_module modules/mod_proxy.so&lt;br /&gt;
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;br /&gt;
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so&lt;br /&gt;
LoadModule proxy_http_module modules/mod_proxy_http.so&lt;br /&gt;
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so&lt;br /&gt;
LoadModule proxy_connect_module modules/mod_proxy_connect.so&lt;br /&gt;
LoadModule cache_module modules/mod_cache.so&lt;br /&gt;
LoadModule suexec_module modules/mod_suexec.so&lt;br /&gt;
LoadModule disk_cache_module modules/mod_disk_cache.so&lt;br /&gt;
LoadModule cgi_module modules/mod_cgi.so&lt;br /&gt;
LoadModule version_module modules/mod_version.so&lt;br /&gt;
#LoadModule php5_module modules/libphp5.so&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following modules are not loaded by default:&lt;br /&gt;
#&lt;br /&gt;
#LoadModule asis_module modules/mod_asis.so&lt;br /&gt;
#LoadModule authn_dbd_module modules/mod_authn_dbd.so&lt;br /&gt;
#LoadModule cern_meta_module modules/mod_cern_meta.so&lt;br /&gt;
#LoadModule cgid_module modules/mod_cgid.so&lt;br /&gt;
#LoadModule dbd_module modules/mod_dbd.so&lt;br /&gt;
#LoadModule dumpio_module modules/mod_dumpio.so&lt;br /&gt;
#LoadModule filter_module modules/mod_filter.so&lt;br /&gt;
#LoadModule ident_module modules/mod_ident.so&lt;br /&gt;
#LoadModule log_forensic_module modules/mod_log_forensic.so&lt;br /&gt;
#LoadModule unique_id_module modules/mod_unique_id.so&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Load config files from the config directory &amp;quot;/etc/httpd/conf.d&amp;quot;.&lt;br /&gt;
#&lt;br /&gt;
Include conf.d/*.conf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ExtendedStatus controls whether Apache will generate &amp;quot;full&amp;quot; status&lt;br /&gt;
# information (ExtendedStatus On) or just basic information (ExtendedStatus&lt;br /&gt;
# Off) when the &amp;quot;server-status&amp;quot; handler is called. The default is Off.&lt;br /&gt;
#&lt;br /&gt;
#ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you wish httpd to run as a different user or group, you must run&lt;br /&gt;
# httpd as root initially and it will switch.&lt;br /&gt;
#&lt;br /&gt;
# User/Group: The name (or #number) of the user/group to run httpd as.&lt;br /&gt;
#  . On SCO (ODT 3) use &amp;quot;User nouser&amp;quot; and &amp;quot;Group nogroup&amp;quot;.&lt;br /&gt;
#  . On HPUX you may not be able to use shared memory as nobody, and the&lt;br /&gt;
#    suggested workaround is to create a user www and use that user.&lt;br /&gt;
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)&lt;br /&gt;
#  when the value of (unsigned)Group is above 60000;&lt;br /&gt;
#  don't use Group #-1 on these systems!&lt;br /&gt;
#&lt;br /&gt;
User apache&lt;br /&gt;
Group apache&lt;br /&gt;
&lt;br /&gt;
### Section 2: 'Main' server configuration&lt;br /&gt;
#&lt;br /&gt;
# The directives in this section set up the values used by the 'main'&lt;br /&gt;
# server, which responds to any requests that aren't handled by a&lt;br /&gt;
# &amp;lt;VirtualHost&amp;gt; definition.  These values also provide defaults for&lt;br /&gt;
# any &amp;lt;VirtualHost&amp;gt; containers you may define later in the file.&lt;br /&gt;
#&lt;br /&gt;
# All of these directives may appear inside &amp;lt;VirtualHost&amp;gt; containers,&lt;br /&gt;
# in which case these default settings will be overridden for the&lt;br /&gt;
# virtual host being defined.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerAdmin: Your address, where problems with the server should be&lt;br /&gt;
# e-mailed.  This address appears on some server-generated pages, such&lt;br /&gt;
# as error documents.  e.g. admin@your-domain.com&lt;br /&gt;
#&lt;br /&gt;
ServerAdmin root@localhost&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ServerName gives the name and port that the server uses to identify itself.&lt;br /&gt;
# This can often be determined automatically, but we recommend you specify&lt;br /&gt;
# it explicitly to prevent problems during startup.&lt;br /&gt;
#&lt;br /&gt;
# If this is not set to valid DNS name for your host, server-generated&lt;br /&gt;
# redirections will not work.  See also the UseCanonicalName directive.&lt;br /&gt;
#&lt;br /&gt;
# If your host doesn't have a registered DNS name, enter its IP address here.&lt;br /&gt;
# You will have to access it by its address anyway, and this will make&lt;br /&gt;
# redirections work in a sensible way.&lt;br /&gt;
#&lt;br /&gt;
#ServerName www.example.com:80&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UseCanonicalName: Determines how Apache constructs self-referencing&lt;br /&gt;
# URLs and the SERVER_NAME and SERVER_PORT variables.&lt;br /&gt;
# When set &amp;quot;Off&amp;quot;, Apache will use the Hostname and Port supplied&lt;br /&gt;
# by the client.  When set &amp;quot;On&amp;quot;, Apache will use the value of the&lt;br /&gt;
# ServerName directive.&lt;br /&gt;
#&lt;br /&gt;
UseCanonicalName Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DocumentRoot: The directory out of which you will serve your&lt;br /&gt;
# documents. By default, all requests are taken from this directory, but&lt;br /&gt;
# symbolic links and aliases may be used to point to other locations.&lt;br /&gt;
#&lt;br /&gt;
DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Each directory to which Apache has access can be configured with respect&lt;br /&gt;
# to which services and features are allowed and/or disabled in that&lt;br /&gt;
# directory (and its subdirectories).&lt;br /&gt;
#&lt;br /&gt;
# First, we configure the &amp;quot;default&amp;quot; to be a very restrictive set of&lt;br /&gt;
# features.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory /&amp;gt;&lt;br /&gt;
    Options FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Note that from this point forward you must specifically allow&lt;br /&gt;
# particular features to be enabled - so if something's not working as&lt;br /&gt;
# you might expect, make sure that you have specifically enabled it&lt;br /&gt;
# below.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# This should be changed to whatever you set DocumentRoot to.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/html&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Possible values for the Options directive are &amp;quot;None&amp;quot;, &amp;quot;All&amp;quot;,&lt;br /&gt;
    # or any combination of:&lt;br /&gt;
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews&lt;br /&gt;
    #&lt;br /&gt;
    # Note that &amp;quot;MultiViews&amp;quot; must be named *explicitly* --- &amp;quot;Options All&amp;quot;&lt;br /&gt;
    # doesn't give it to you.&lt;br /&gt;
    #&lt;br /&gt;
    # The Options directive is both complicated and important.  Please see&lt;br /&gt;
    # http://httpd.apache.org/docs/2.2/mod/core.html#options&lt;br /&gt;
    # for more information.&lt;br /&gt;
    #&lt;br /&gt;
    Options Indexes FollowSymLinks&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # AllowOverride controls what directives may be placed in .htaccess files.&lt;br /&gt;
    # It can be &amp;quot;All&amp;quot;, &amp;quot;None&amp;quot;, or any combination of the keywords:&lt;br /&gt;
    #   Options FileInfo AuthConfig Limit&lt;br /&gt;
    #&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # Controls who can get stuff from this server.&lt;br /&gt;
    #&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# UserDir: The name of the directory that is appended onto a user's home&lt;br /&gt;
# directory if a ~user request is received.&lt;br /&gt;
#&lt;br /&gt;
# The path to the end user account 'public_html' directory must be&lt;br /&gt;
# accessible to the webserver userid.  This usually means that ~userid&lt;br /&gt;
# must have permissions of 711, ~userid/public_html must have permissions&lt;br /&gt;
# of 755, and documents contained therein must be world-readable.&lt;br /&gt;
# Otherwise, the client will only receive a &amp;quot;403 Forbidden&amp;quot; message.&lt;br /&gt;
#&lt;br /&gt;
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_userdir.c&amp;gt;&lt;br /&gt;
    #&lt;br /&gt;
    # UserDir is disabled by default since it can confirm the presence&lt;br /&gt;
    # of a username on the system (depending on home directory&lt;br /&gt;
    # permissions).&lt;br /&gt;
    #&lt;br /&gt;
    UserDir disabled&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    # To enable requests to /~user/ to serve the user's public_html&lt;br /&gt;
    # directory, remove the &amp;quot;UserDir disabled&amp;quot; line above, and uncomment&lt;br /&gt;
    # the following line instead:&lt;br /&gt;
    #&lt;br /&gt;
    #UserDir public_html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Control access to UserDir directories.  The following is an example&lt;br /&gt;
# for a site where these directories are restricted to read-only.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Directory /home/*/public_html&amp;gt;&lt;br /&gt;
#    AllowOverride FileInfo AuthConfig Limit&lt;br /&gt;
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec&lt;br /&gt;
#    &amp;lt;Limit GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order allow,deny&lt;br /&gt;
#        Allow from all&lt;br /&gt;
#    &amp;lt;/Limit&amp;gt;&lt;br /&gt;
#    &amp;lt;LimitExcept GET POST OPTIONS&amp;gt;&lt;br /&gt;
#        Order deny,allow&lt;br /&gt;
#        Deny from all&lt;br /&gt;
#    &amp;lt;/LimitExcept&amp;gt;&lt;br /&gt;
#&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DirectoryIndex: sets the file that Apache will serve if a directory&lt;br /&gt;
# is requested.&lt;br /&gt;
#&lt;br /&gt;
# The index.html.var file (a type-map) is used to deliver content-&lt;br /&gt;
# negotiated documents.  The MultiViews Option can be used for the&lt;br /&gt;
# same purpose, but it is much slower.&lt;br /&gt;
#&lt;br /&gt;
DirectoryIndex index.html index.html.var&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AccessFileName: The name of the file to look for in each directory&lt;br /&gt;
# for additional configuration directives.  See also the AllowOverride&lt;br /&gt;
# directive.&lt;br /&gt;
#&lt;br /&gt;
AccessFileName .htaccess&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following lines prevent .htaccess and .htpasswd files from being&lt;br /&gt;
# viewed by Web clients.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;FilesMatch &amp;quot;^\.ht&amp;quot;&amp;gt;&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Deny from all&lt;br /&gt;
    Satisfy All&lt;br /&gt;
&amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# TypesConfig describes where the mime.types file (or equivalent) is&lt;br /&gt;
# to be found.&lt;br /&gt;
#&lt;br /&gt;
TypesConfig /etc/mime.types&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultType is the default MIME type the server will use for a document&lt;br /&gt;
# if it cannot otherwise determine one, such as from filename extensions.&lt;br /&gt;
# If your server contains mostly text or HTML documents, &amp;quot;text/plain&amp;quot; is&lt;br /&gt;
# a good value.  If most of your content is binary, such as applications&lt;br /&gt;
# or images, you may want to use &amp;quot;application/octet-stream&amp;quot; instead to&lt;br /&gt;
# keep browsers from trying to display binary files as though they are&lt;br /&gt;
# text.&lt;br /&gt;
#&lt;br /&gt;
DefaultType text/plain&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The mod_mime_magic module allows the server to use various hints from the&lt;br /&gt;
# contents of the file itself to determine its type.  The MIMEMagicFile&lt;br /&gt;
# directive tells the module where the hint definitions are located.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_mime_magic.c&amp;gt;&lt;br /&gt;
#   MIMEMagicFile /usr/share/magic.mime&lt;br /&gt;
    MIMEMagicFile conf/magic&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# HostnameLookups: Log the names of clients or just their IP addresses&lt;br /&gt;
# e.g., www.apache.org (on) or 204.62.129.132 (off).&lt;br /&gt;
# The default is off because it'd be overall better for the net if people&lt;br /&gt;
# had to knowingly turn this feature on, since enabling it means that&lt;br /&gt;
# each client request will result in AT LEAST one lookup request to the&lt;br /&gt;
# nameserver.&lt;br /&gt;
#&lt;br /&gt;
HostnameLookups Off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableMMAP: Control whether memory-mapping is used to deliver&lt;br /&gt;
# files (assuming that the underlying OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  On some systems, turning it off (regardless of&lt;br /&gt;
# filesystem) can improve performance; for details, please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap&lt;br /&gt;
#&lt;br /&gt;
#EnableMMAP off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# EnableSendfile: Control whether the sendfile kernel support is&lt;br /&gt;
# used to deliver files (assuming that the OS supports it).&lt;br /&gt;
# The default is on; turn this off if you serve from NFS-mounted&lt;br /&gt;
# filesystems.  Please see&lt;br /&gt;
# http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile&lt;br /&gt;
#&lt;br /&gt;
#EnableSendfile off&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ErrorLog: The location of the error log file.&lt;br /&gt;
# If you do not specify an ErrorLog directive within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, error messages relating to that virtual host will be&lt;br /&gt;
# logged here.  If you *do* define an error logfile for a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, that host's errors will be logged there and not here.&lt;br /&gt;
#&lt;br /&gt;
ErrorLog logs/error_log&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LogLevel: Control the number of messages logged to the error_log.&lt;br /&gt;
# Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
# alert, emerg.&lt;br /&gt;
#&lt;br /&gt;
LogLevel warn&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives define some format nicknames for use with&lt;br /&gt;
# a CustomLog directive (see below).&lt;br /&gt;
#&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot;&amp;quot; combined&lt;br /&gt;
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b&amp;quot; common&lt;br /&gt;
LogFormat &amp;quot;%{Referer}i -&amp;gt; %U&amp;quot; referer&lt;br /&gt;
LogFormat &amp;quot;%{User-agent}i&amp;quot; agent&lt;br /&gt;
&lt;br /&gt;
# &amp;quot;combinedio&amp;quot; includes actual counts of actual bytes received (%I) and sent (%O); this&lt;br /&gt;
# requires the mod_logio module to be loaded.&lt;br /&gt;
#LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot; %I %O&amp;quot; combinedio&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The location and format of the access logfile (Common Logfile Format).&lt;br /&gt;
# If you do not define any access logfiles within a &amp;lt;VirtualHost&amp;gt;&lt;br /&gt;
# container, they will be logged here.  Contrariwise, if you *do*&lt;br /&gt;
# define per-&amp;lt;VirtualHost&amp;gt; access logfiles, transactions will be&lt;br /&gt;
# logged therein and *not* in this file.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/access_log common&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# If you would like to have separate agent and referer logfiles, uncomment&lt;br /&gt;
# the following directives.&lt;br /&gt;
#&lt;br /&gt;
#CustomLog logs/referer_log referer&lt;br /&gt;
#CustomLog logs/agent_log agent&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For a single logfile with access, agent, and referer information&lt;br /&gt;
# (Combined Logfile Format), use the following directive:&lt;br /&gt;
#&lt;br /&gt;
CustomLog logs/access_log combined&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Optionally add a line containing the server version and virtual host&lt;br /&gt;
# name to server-generated pages (internal error documents, FTP directory&lt;br /&gt;
# listings, mod_status and mod_info output etc., but not CGI generated&lt;br /&gt;
# documents or custom error documents).&lt;br /&gt;
# Set to &amp;quot;EMail&amp;quot; to also include a mailto: link to the ServerAdmin.&lt;br /&gt;
# Set to one of:  On | Off | EMail&lt;br /&gt;
#&lt;br /&gt;
ServerSignature On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Aliases: Add here as many aliases as you need (with no limit). The format is&lt;br /&gt;
# Alias fakename realname&lt;br /&gt;
#&lt;br /&gt;
# Note that if you include a trailing / on fakename then the server will&lt;br /&gt;
# require it to be present in the URL.  So &amp;quot;/icons&amp;quot; isn't aliased in this&lt;br /&gt;
# example, only &amp;quot;/icons/&amp;quot;.  If the fakename is slash-terminated, then the&lt;br /&gt;
# realname must also be slash terminated, and if the fakename omits the&lt;br /&gt;
# trailing slash, the realname must also omit it.&lt;br /&gt;
#&lt;br /&gt;
# We include the /icons/ alias for FancyIndexed directory listings.  If you&lt;br /&gt;
# do not use FancyIndexing, you may comment this out.&lt;br /&gt;
#&lt;br /&gt;
Alias /icons/ &amp;quot;/var/www/icons/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/icons&amp;quot;&amp;gt;&lt;br /&gt;
    Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# WebDAV module configuration section.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;IfModule mod_dav_fs.c&amp;gt;&lt;br /&gt;
    # Location of the WebDAV lock database.&lt;br /&gt;
    DAVLockDB /var/lib/dav/lockdb&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ScriptAlias: This controls which directories contain server scripts.&lt;br /&gt;
# ScriptAliases are essentially the same as Aliases, except that&lt;br /&gt;
# documents in the realname directory are treated as applications and&lt;br /&gt;
# run by the server when requested rather than as documents sent to the client.&lt;br /&gt;
# The same rules about trailing &amp;quot;/&amp;quot; apply to ScriptAlias directives as to&lt;br /&gt;
# Alias.&lt;br /&gt;
#&lt;br /&gt;
ScriptAlias /cgi-bin/ &amp;quot;/var/www/cgi-bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# &amp;quot;/var/www/cgi-bin&amp;quot; should be changed to whatever your ScriptAliased&lt;br /&gt;
# CGI directory exists, if you have that configured.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;Directory &amp;quot;/var/www/cgi-bin&amp;quot;&amp;gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Redirect allows you to tell clients about documents which used to exist in&lt;br /&gt;
# your server's namespace, but do not anymore. This allows you to tell the&lt;br /&gt;
# clients where to look for the relocated document.&lt;br /&gt;
# Example:&lt;br /&gt;
# Redirect permanent /foo http://www.example.com/bar&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Directives controlling the display of server-generated directory listings.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexOptions: Controls the appearance of server-generated directory&lt;br /&gt;
# listings.&lt;br /&gt;
#&lt;br /&gt;
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddIcon* directives tell the server which icon to show for different&lt;br /&gt;
# files or filename extensions.  These are only displayed for&lt;br /&gt;
# FancyIndexed directories.&lt;br /&gt;
#&lt;br /&gt;
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip&lt;br /&gt;
&lt;br /&gt;
AddIconByType (TXT,/icons/text.gif) text/*&lt;br /&gt;
AddIconByType (IMG,/icons/image2.gif) image/*&lt;br /&gt;
AddIconByType (SND,/icons/sound2.gif) audio/*&lt;br /&gt;
AddIconByType (VID,/icons/movie.gif) video/*&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/binary.gif .bin .exe&lt;br /&gt;
AddIcon /icons/binhex.gif .hqx&lt;br /&gt;
AddIcon /icons/tar.gif .tar&lt;br /&gt;
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv&lt;br /&gt;
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip&lt;br /&gt;
AddIcon /icons/a.gif .ps .ai .eps&lt;br /&gt;
AddIcon /icons/layout.gif .html .shtml .htm .pdf&lt;br /&gt;
AddIcon /icons/text.gif .txt&lt;br /&gt;
AddIcon /icons/c.gif .c&lt;br /&gt;
AddIcon /icons/p.gif .pl .py&lt;br /&gt;
AddIcon /icons/f.gif .for&lt;br /&gt;
AddIcon /icons/dvi.gif .dvi&lt;br /&gt;
AddIcon /icons/uuencoded.gif .uu&lt;br /&gt;
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl&lt;br /&gt;
AddIcon /icons/tex.gif .tex&lt;br /&gt;
AddIcon /icons/bomb.gif core&lt;br /&gt;
&lt;br /&gt;
AddIcon /icons/back.gif ..&lt;br /&gt;
AddIcon /icons/hand.right.gif README&lt;br /&gt;
AddIcon /icons/folder.gif ^^DIRECTORY^^&lt;br /&gt;
AddIcon /icons/blank.gif ^^BLANKICON^^&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultIcon is which icon to show for files which do not have an icon&lt;br /&gt;
# explicitly set.&lt;br /&gt;
#&lt;br /&gt;
DefaultIcon /icons/unknown.gif&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddDescription allows you to place a short description after a file in&lt;br /&gt;
# server-generated indexes.  These are only displayed for FancyIndexed&lt;br /&gt;
# directories.&lt;br /&gt;
# Format: AddDescription &amp;quot;description&amp;quot; filename&lt;br /&gt;
#&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed document&amp;quot; .gz&lt;br /&gt;
#AddDescription &amp;quot;tar archive&amp;quot; .tar&lt;br /&gt;
#AddDescription &amp;quot;GZIP compressed tar archive&amp;quot; .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ReadmeName is the name of the README file the server will look for by&lt;br /&gt;
# default, and append to directory listings.&lt;br /&gt;
#&lt;br /&gt;
# HeaderName is the name of a file which should be prepended to&lt;br /&gt;
# directory indexes.&lt;br /&gt;
ReadmeName README.html&lt;br /&gt;
HeaderName HEADER.html&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# IndexIgnore is a set of filenames which directory indexing should ignore&lt;br /&gt;
# and not include in the listing.  Shell-style wildcarding is permitted.&lt;br /&gt;
#&lt;br /&gt;
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage and AddLanguage allows you to specify the language of&lt;br /&gt;
# a document. You can then use content negotiation to give a browser a&lt;br /&gt;
# file in a language the user can understand.&lt;br /&gt;
#&lt;br /&gt;
# Specify a default language. This means that all data&lt;br /&gt;
# going out without a specific language tag (see below) will&lt;br /&gt;
# be marked with this one. You probably do NOT want to set&lt;br /&gt;
# this unless you are sure it is correct for all cases.&lt;br /&gt;
#&lt;br /&gt;
# * It is generally better to not mark a page as&lt;br /&gt;
# * being a certain language than marking it with the wrong&lt;br /&gt;
# * language!&lt;br /&gt;
#&lt;br /&gt;
# DefaultLanguage nl&lt;br /&gt;
#&lt;br /&gt;
# Note 1: The suffix does not have to be the same as the language&lt;br /&gt;
# keyword --- those with documents in Polish (whose net-standard&lt;br /&gt;
# language code is pl) may wish to use &amp;quot;AddLanguage pl .po&amp;quot; to&lt;br /&gt;
# avoid the ambiguity with the common suffix for perl scripts.&lt;br /&gt;
#&lt;br /&gt;
# Note 2: The example entries below illustrate that in some cases&lt;br /&gt;
# the two character 'Language' abbreviation is not identical to&lt;br /&gt;
# the two character 'Country' code for its country,&lt;br /&gt;
# E.g. 'Danmark/dk' versus 'Danish/da'.&lt;br /&gt;
#&lt;br /&gt;
# Note 3: In the case of 'ltz' we violate the RFC by using a three char&lt;br /&gt;
# specifier. There is 'work in progress' to fix this and get&lt;br /&gt;
# the reference data for rfc1766 cleaned up.&lt;br /&gt;
#&lt;br /&gt;
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)&lt;br /&gt;
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)&lt;br /&gt;
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)&lt;br /&gt;
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)&lt;br /&gt;
# Norwegian (no) - Polish (pl) - Portugese (pt)&lt;br /&gt;
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)&lt;br /&gt;
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)&lt;br /&gt;
#&lt;br /&gt;
AddLanguage ca .ca&lt;br /&gt;
AddLanguage cs .cz .cs&lt;br /&gt;
AddLanguage da .dk&lt;br /&gt;
AddLanguage de .de&lt;br /&gt;
AddLanguage el .el&lt;br /&gt;
AddLanguage en .en&lt;br /&gt;
AddLanguage eo .eo&lt;br /&gt;
AddLanguage es .es&lt;br /&gt;
AddLanguage et .et&lt;br /&gt;
AddLanguage fr .fr&lt;br /&gt;
AddLanguage he .he&lt;br /&gt;
AddLanguage hr .hr&lt;br /&gt;
AddLanguage it .it&lt;br /&gt;
AddLanguage ja .ja&lt;br /&gt;
AddLanguage ko .ko&lt;br /&gt;
AddLanguage ltz .ltz&lt;br /&gt;
AddLanguage nl .nl&lt;br /&gt;
AddLanguage nn .nn&lt;br /&gt;
AddLanguage no .no&lt;br /&gt;
AddLanguage pl .po&lt;br /&gt;
AddLanguage pt .pt&lt;br /&gt;
AddLanguage pt-BR .pt-br&lt;br /&gt;
AddLanguage ru .ru&lt;br /&gt;
AddLanguage sv .sv&lt;br /&gt;
AddLanguage zh-CN .zh-cn&lt;br /&gt;
AddLanguage zh-TW .zh-tw&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LanguagePriority allows you to give precedence to some languages&lt;br /&gt;
# in case of a tie during content negotiation.&lt;br /&gt;
#&lt;br /&gt;
# Just list the languages in decreasing order of preference. We have&lt;br /&gt;
# more or less alphabetized them here. You probably want to change this.&lt;br /&gt;
#&lt;br /&gt;
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ForceLanguagePriority allows you to serve a result page rather than&lt;br /&gt;
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)&lt;br /&gt;
# [in case no accepted languages matched the available variants]&lt;br /&gt;
#&lt;br /&gt;
ForceLanguagePriority Prefer Fallback&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Specify a default charset for all content served; this enables&lt;br /&gt;
# interpretation of all content as UTF-8 by default.  To use the&lt;br /&gt;
# default browser choice (ISO-8859-1), or to allow the META tags&lt;br /&gt;
# in HTML content to override this choice, comment out this&lt;br /&gt;
# directive:&lt;br /&gt;
#&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddType allows you to add to or override the MIME configuration&lt;br /&gt;
# file mime.types for specific file types.&lt;br /&gt;
#&lt;br /&gt;
#AddType application/x-tar .tgz&lt;br /&gt;
&lt;br /&gt;
#PHP Types&lt;br /&gt;
#AddType application/x-httpd-php .php&lt;br /&gt;
#AddType application/x-httpd-php-source phps&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddEncoding allows you to have certain browsers uncompress&lt;br /&gt;
# information on the fly. Note: Not all browsers support this.&lt;br /&gt;
# Despite the name similarity, the following Add* directives have nothing&lt;br /&gt;
# to do with the FancyIndexing customization directives above.&lt;br /&gt;
#&lt;br /&gt;
#AddEncoding x-compress .Z&lt;br /&gt;
#AddEncoding x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
# If the AddEncoding directives above are commented-out, then you&lt;br /&gt;
# probably should define those extensions to indicate media types:&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-compress .Z&lt;br /&gt;
AddType application/x-gzip .gz .tgz&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
#   MIME-types for downloading Certificates and CRLs&lt;br /&gt;
#&lt;br /&gt;
AddType application/x-x509-ca-cert .crt&lt;br /&gt;
AddType application/x-pkcs7-crl    .crl&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# AddHandler allows you to map certain file extensions to &amp;quot;handlers&amp;quot;:&lt;br /&gt;
# actions unrelated to filetype. These can be either built into the server&lt;br /&gt;
# or added with the Action directive (see below)&lt;br /&gt;
#&lt;br /&gt;
# To use CGI scripts outside of ScriptAliased directories:&lt;br /&gt;
# (You will also need to add &amp;quot;ExecCGI&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
#AddHandler cgi-script .cgi&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For files that include their own HTTP headers:&lt;br /&gt;
#&lt;br /&gt;
#AddHandler send-as-is asis&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# For type maps (negotiated resources):&lt;br /&gt;
# (This is enabled by default to allow the Apache &amp;quot;It Worked&amp;quot; page&lt;br /&gt;
#  to be distributed in multiple languages.)&lt;br /&gt;
#&lt;br /&gt;
AddHandler type-map var&lt;br /&gt;
&lt;br /&gt;
#Add php handler&lt;br /&gt;
#AddHandler php5-script .php&lt;br /&gt;
#&lt;br /&gt;
# Filters allow you to process content before it is sent to the client.&lt;br /&gt;
#&lt;br /&gt;
# To parse .shtml files for server-side includes (SSI):&lt;br /&gt;
# (You will also need to add &amp;quot;Includes&amp;quot; to the &amp;quot;Options&amp;quot; directive.)&lt;br /&gt;
#&lt;br /&gt;
AddType text/html .shtml&lt;br /&gt;
AddOutputFilter INCLUDES .shtml&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Action lets you define media types that will execute a script whenever&lt;br /&gt;
# a matching file is called. This eliminates the need for repeated URL&lt;br /&gt;
# pathnames for oft-used CGI file processors.&lt;br /&gt;
# Format: Action media/type /cgi-script/location&lt;br /&gt;
# Format: Action handler-name /cgi-script/location&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Customizable error responses come in three flavors:&lt;br /&gt;
# 1) plain text 2) local redirects 3) external redirects&lt;br /&gt;
#&lt;br /&gt;
# Some examples:&lt;br /&gt;
#ErrorDocument 500 &amp;quot;The server made a boo boo.&amp;quot;&lt;br /&gt;
#ErrorDocument 404 /missing.html&lt;br /&gt;
#ErrorDocument 404 &amp;quot;/cgi-bin/missing_handler.pl&amp;quot;&lt;br /&gt;
#ErrorDocument 402 http://www.example.com/subscription_info.html&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Putting this all together, we can internationalize error responses.&lt;br /&gt;
#&lt;br /&gt;
# We use Alias to redirect any /error/HTTP_&amp;lt;error&amp;gt;.html.var response to&lt;br /&gt;
# our collection of by-error message multi-language collections.  We use&lt;br /&gt;
# includes to substitute the appropriate text.&lt;br /&gt;
#&lt;br /&gt;
# You can modify the messages' appearance without changing any of the&lt;br /&gt;
# default HTTP_&amp;lt;error&amp;gt;.html.var files by adding the line:&lt;br /&gt;
#&lt;br /&gt;
#   Alias /error/include/ &amp;quot;/your/include/path/&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# which allows you to create your own set of files by starting with the&lt;br /&gt;
# /var/www/error/include/ files and&lt;br /&gt;
# copying them to /your/include/path/, even on a per-VirtualHost basis.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
Alias /error/ &amp;quot;/var/www/error/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IfModule mod_negotiation.c&amp;gt;&lt;br /&gt;
&amp;lt;IfModule mod_include.c&amp;gt;&lt;br /&gt;
    &amp;lt;Directory &amp;quot;/var/www/error&amp;quot;&amp;gt;&lt;br /&gt;
        AllowOverride None&lt;br /&gt;
        Options IncludesNoExec&lt;br /&gt;
        AddOutputFilter Includes html&lt;br /&gt;
        AddHandler type-map var&lt;br /&gt;
        Order allow,deny&lt;br /&gt;
        Allow from all&lt;br /&gt;
        LanguagePriority en es de fr&lt;br /&gt;
        ForceLanguagePriority Prefer Fallback&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var&lt;br /&gt;
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var&lt;br /&gt;
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var&lt;br /&gt;
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var&lt;br /&gt;
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var&lt;br /&gt;
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var&lt;br /&gt;
#    ErrorDocument 410 /error/HTTP_GONE.html.var&lt;br /&gt;
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var&lt;br /&gt;
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var&lt;br /&gt;
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var&lt;br /&gt;
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var&lt;br /&gt;
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var&lt;br /&gt;
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var&lt;br /&gt;
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var&lt;br /&gt;
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var&lt;br /&gt;
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directives modify normal HTTP response behavior to&lt;br /&gt;
# handle known problems with browser implementations.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Mozilla/2&amp;quot; nokeepalive&lt;br /&gt;
BrowserMatch &amp;quot;MSIE 4\.0b2;&amp;quot; nokeepalive downgrade-1.0 force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;RealPlayer 4\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;Java/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
BrowserMatch &amp;quot;JDK/1\.0&amp;quot; force-response-1.0&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# The following directive disables redirects on non-GET requests for&lt;br /&gt;
# a directory that does not include the trailing slash.  This fixes a&lt;br /&gt;
# problem with Microsoft WebFolders which does not appropriately handle&lt;br /&gt;
# redirects for folders with DAV methods.&lt;br /&gt;
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.&lt;br /&gt;
#&lt;br /&gt;
BrowserMatch &amp;quot;Microsoft Data Access Internet Publishing Provider&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;MS FrontPage&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDrive&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^WebDAVFS/1.[0123]&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^gnome-vfs/1.0&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^XML Spy&amp;quot; redirect-carefully&lt;br /&gt;
BrowserMatch &amp;quot;^Dreamweaver-WebDAV-SCM1&amp;quot; redirect-carefully&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow server status reports generated by mod_status,&lt;br /&gt;
# with the URL of http://servername/server-status&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-status&amp;gt;&lt;br /&gt;
#    SetHandler server-status&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Allow remote server configuration reports, with the URL of&lt;br /&gt;
#  http://servername/server-info (requires that mod_info.c be loaded).&lt;br /&gt;
# Change the &amp;quot;.example.com&amp;quot; to match your domain to enable.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Location /server-info&amp;gt;&lt;br /&gt;
#    SetHandler server-info&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Proxy Server directives. Uncomment the following lines to&lt;br /&gt;
# enable the proxy server:&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_proxy.c&amp;gt;&lt;br /&gt;
#ProxyRequests On&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;Proxy *&amp;gt;&lt;br /&gt;
#    Order deny,allow&lt;br /&gt;
#    Deny from all&lt;br /&gt;
#    Allow from .example.com&lt;br /&gt;
#&amp;lt;/Proxy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Enable/disable the handling of HTTP/1.1 &amp;quot;Via:&amp;quot; headers.&lt;br /&gt;
# (&amp;quot;Full&amp;quot; adds the server version; &amp;quot;Block&amp;quot; removes all outgoing Via: headers)&lt;br /&gt;
# Set to one of: Off | On | Full | Block&lt;br /&gt;
#&lt;br /&gt;
#ProxyVia On&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# To enable a cache of proxied content, uncomment the following lines.&lt;br /&gt;
# See http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;IfModule mod_disk_cache.c&amp;gt;&lt;br /&gt;
#   CacheEnable disk /&lt;br /&gt;
#   CacheRoot &amp;quot;/var/cache/mod_proxy&amp;quot;&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
# End of proxy directives.&lt;br /&gt;
&lt;br /&gt;
### Section 3: Virtual Hosts&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost: If you want to maintain multiple domains/hostnames on your&lt;br /&gt;
# machine you can setup VirtualHost containers for them. Most configurations&lt;br /&gt;
# use only name-based virtual hosts so the server doesn't need to worry about&lt;br /&gt;
# IP addresses. This is indicated by the asterisks in the directives below.&lt;br /&gt;
#&lt;br /&gt;
# Please see the documentation at&lt;br /&gt;
# &amp;lt;URL:http://httpd.apache.org/docs/2.2/vhosts/&amp;gt;&lt;br /&gt;
# for further details before you try to setup virtual hosts.&lt;br /&gt;
#&lt;br /&gt;
# You may use the command line option '-S' to verify your virtual host&lt;br /&gt;
# configuration.&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Use name-based virtual hosting.&lt;br /&gt;
#&lt;br /&gt;
#NameVirtualHost *&lt;br /&gt;
#&lt;br /&gt;
# NOTE: NameVirtualHost cannot be used without a port specifier&lt;br /&gt;
# (e.g. :80) if mod_ssl is being used, due to the nature of the&lt;br /&gt;
# SSL protocol.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# VirtualHost example:&lt;br /&gt;
# Almost any Apache directive may go into a VirtualHost container.&lt;br /&gt;
# The first VirtualHost section is used for requests without a known&lt;br /&gt;
# server name.&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
#    ServerAdmin webmaster@dummy-host.example.com&lt;br /&gt;
#    DocumentRoot /www/docs/dummy-host.example.com&lt;br /&gt;
#    ServerName dummy-host.example.com&lt;br /&gt;
#    ErrorLog logs/dummy-host.example.com-error_log&lt;br /&gt;
#    CustomLog logs/dummy-host.example.com-access_log common&lt;br /&gt;
#&amp;lt;/VirtualHost&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19662</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19662"/>
				<updated>2011-09-27T10:28:23Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* On FW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
        listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
        dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
        allow-query     { localhost; };&lt;br /&gt;
        allow-recursion { 192.168.1.0/24; };&lt;br /&gt;
        recursion yes;&lt;br /&gt;
&lt;br /&gt;
        dnssec-enable yes;&lt;br /&gt;
        dnssec-validation yes;&lt;br /&gt;
        dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
        bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
logging {&lt;br /&gt;
        channel default_debug {&lt;br /&gt;
                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
                severity dynamic;&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.local&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-local.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.local.    IN      SOA     ns1.utoft.local.        hostmaster.utoft.local. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.local.&lt;br /&gt;
&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      A       172.16.4.119&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19661</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19661"/>
				<updated>2011-09-27T09:17:40Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
        listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
        dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
        allow-query     { localhost; };&lt;br /&gt;
        recursion yes;&lt;br /&gt;
&lt;br /&gt;
        dnssec-enable yes;&lt;br /&gt;
        dnssec-validation yes;&lt;br /&gt;
        dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
        bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
logging {&lt;br /&gt;
        channel default_debug {&lt;br /&gt;
                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
                severity dynamic;&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.local&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-local.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.local.    IN      SOA     ns1.utoft.local.        hostmaster.utoft.local. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.local.&lt;br /&gt;
&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      A       172.16.4.119&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19660</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19660"/>
				<updated>2011-09-27T09:07:42Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
        listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
        dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
        allow-query     { localhost; };&lt;br /&gt;
        recursion yes;&lt;br /&gt;
&lt;br /&gt;
        dnssec-enable yes;&lt;br /&gt;
        dnssec-validation yes;&lt;br /&gt;
        dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
        bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
logging {&lt;br /&gt;
        channel default_debug {&lt;br /&gt;
                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
                severity dynamic;&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.local&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-local.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.local.    IN      SOA     ns1.utoft.local.        hostmaster.utoft.local. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.utoft.local.&lt;br /&gt;
&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      CNAME   fw&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19659</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19659"/>
				<updated>2011-09-27T08:46:02Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* On FW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Install Bind: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Configure Named (/etc/named.conf)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;//&lt;br /&gt;
// named.conf&lt;br /&gt;
//&lt;br /&gt;
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS&lt;br /&gt;
// server as a caching only nameserver (as a localhost DNS resolver only).&lt;br /&gt;
//&lt;br /&gt;
// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
        listen-on port 53 { 192.168.1.1; };&lt;br /&gt;
        directory       &amp;quot;/var/named&amp;quot;;&lt;br /&gt;
        dump-file       &amp;quot;/var/named/data/cache_dump.db&amp;quot;;&lt;br /&gt;
        statistics-file &amp;quot;/var/named/data/named_stats.txt&amp;quot;;&lt;br /&gt;
        memstatistics-file &amp;quot;/var/named/data/named_mem_stats.txt&amp;quot;;&lt;br /&gt;
        allow-query     { localhost; };&lt;br /&gt;
        recursion yes;&lt;br /&gt;
&lt;br /&gt;
        dnssec-enable yes;&lt;br /&gt;
        dnssec-validation yes;&lt;br /&gt;
        dnssec-lookaside auto;&lt;br /&gt;
&lt;br /&gt;
        /* Path to ISC DLV key */&lt;br /&gt;
        bindkeys-file &amp;quot;/etc/named.iscdlv.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        managed-keys-directory &amp;quot;/var/named/dynamic&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
logging {&lt;br /&gt;
        channel default_debug {&lt;br /&gt;
                file &amp;quot;data/named.run&amp;quot;;&lt;br /&gt;
                severity dynamic;&lt;br /&gt;
        };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
        type hint;&lt;br /&gt;
        file &amp;quot;named.ca&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/named.rfc1912.zones&amp;quot;;&lt;br /&gt;
include &amp;quot;/etc/named.root.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
zone &amp;quot;utoft.local&amp;quot; {&lt;br /&gt;
        type master;&lt;br /&gt;
        notify no;&lt;br /&gt;
        allow-query { any; };&lt;br /&gt;
        file &amp;quot;/etc/utoft-local.zone&amp;quot;;&lt;br /&gt;
};&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Create Zone:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.local.    IN      SOA     ns1.utoft.local.        hostmaster.utoft.local. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.example.local.&lt;br /&gt;
&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      CNAME   fw&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19658</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19658"/>
				<updated>2011-09-27T08:43:53Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Config */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client  ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Install Bind:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Configure Named&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create Zone:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$TTL 3600&lt;br /&gt;
utoft.local.    IN      SOA     ns1.utoft.local.        hostmaster.utoft.local. (&lt;br /&gt;
                       2011092701      ; serial#&lt;br /&gt;
                       3600            ; refresh, seconds&lt;br /&gt;
                       3600            ; retry, seconds&lt;br /&gt;
                       3600            ; expire, seconds&lt;br /&gt;
                       3600 )          ; minimum, seconds&lt;br /&gt;
&lt;br /&gt;
                IN      NS      ns1.example.local.&lt;br /&gt;
&lt;br /&gt;
localhost       IN      A       127.0.0.1&lt;br /&gt;
fw              IN      A       172.16.4.119&lt;br /&gt;
fedoraweb       IN      A       192.168.1.10&lt;br /&gt;
ns1             IN      CNAME   fw&lt;br /&gt;
www             IN      CNAME   fedoraweb&lt;br /&gt;
wiki            IN      CNAME   www&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19655</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19655"/>
				<updated>2011-09-27T06:31:34Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Opgaver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
== Tirsdag 27-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
On fw&lt;br /&gt;
#dns server&lt;br /&gt;
#dns Records min 2&lt;br /&gt;
&lt;br /&gt;
on web&lt;br /&gt;
#mediawiki&lt;br /&gt;
#2nd system f.eks wordpress&lt;br /&gt;
#nfs server&lt;br /&gt;
&lt;br /&gt;
On Client&lt;br /&gt;
# mount Nfs share&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19647</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19647"/>
				<updated>2011-09-26T13:00:24Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19646</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19646"/>
				<updated>2011-09-26T12:53:34Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* IPTABLES */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW  ======&lt;br /&gt;
&lt;br /&gt;
Execute: edit /init.d/nat.sh write&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Add nat.sh to startup script &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;chkconfig --add nat.sh&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19645</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19645"/>
				<updated>2011-09-26T12:51:14Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Mandag 26-9-2011 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19644</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19644"/>
				<updated>2011-09-26T12:50:33Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* On FW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
### chkconfig ###&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: nat.sh&lt;br /&gt;
# Default-Start: 2 3 4 5&lt;br /&gt;
# Default-Stop: 0 1 6&lt;br /&gt;
# Required-Start: $local_fs $network&lt;br /&gt;
# Required-Stop: $local_fs $network&lt;br /&gt;
# Short-Description: Startup script containing iptables rules&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
#INSIDE_NET=&amp;quot;192.168.1.0/24&amp;quot;&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19643</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19643"/>
				<updated>2011-09-26T12:30:34Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* On FW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
### Variabels ###&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Reset IP-Tables&lt;br /&gt;
service iptables stop&lt;br /&gt;
iptables -F&lt;br /&gt;
service iptables start&lt;br /&gt;
&lt;br /&gt;
#NAT&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19641</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19641"/>
				<updated>2011-09-26T12:15:08Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* On FW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
#Enable ip forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
#Variabels&lt;br /&gt;
INTERNAL_PORT=&amp;quot;eth2&amp;quot;&lt;br /&gt;
EXTERNAL_PORT=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o $EXTERNAL_PORT -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i $EXTERNAL_PORT -o $INTERNAL_PORT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i $INTERNAL_PORT -o $EXTERNAL_PORT -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19640</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19640"/>
				<updated>2011-09-26T12:07:43Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Mandag 26-9-2011 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables - NAT&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19639</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19639"/>
				<updated>2011-09-26T12:07:23Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP&amp;lt;br&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Exec. Restart dhcpd service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;service dhcpd restart&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== On Webserver &amp;amp;amp; Client ======&lt;br /&gt;
&lt;br /&gt;
Exec. Renew IP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;dhclient -r&lt;br /&gt;
dhclient&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES  ==&lt;br /&gt;
&lt;br /&gt;
=== NAT  ===&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
Execute: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19635</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19635"/>
				<updated>2011-09-26T10:57:24Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
====== On FW ======&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== IPTABLES ==&lt;br /&gt;
&lt;br /&gt;
=== NAT ===&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19634</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19634"/>
				<updated>2011-09-26T10:56:02Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== IPTABLES ==&lt;br /&gt;
&lt;br /&gt;
=== NAT ===&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19633</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19633"/>
				<updated>2011-09-26T10:54:19Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
in /etc/dhcp/dhcpd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19632</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19632"/>
				<updated>2011-09-26T10:53:50Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;ini&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19631</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19631"/>
				<updated>2011-09-26T10:53:23Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;&amp;quot;&amp;gt;#&lt;br /&gt;
# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19630</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19630"/>
				<updated>2011-09-26T10:51:12Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;#&amp;lt;br&amp;gt;# DHCP Server Configuration file.&amp;lt;br&amp;gt;# see /usr/share/doc/dhcp*/dhcpd.conf.sample&amp;lt;br&amp;gt;# see dhcpd.conf(5) man page&amp;lt;br&amp;gt;#&amp;lt;br&amp;gt;ddns-update-style interim;&amp;lt;br&amp;gt;ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
# The range of IP addresses the server&amp;lt;br&amp;gt; # will issue to DHCP enabled PC clients&amp;lt;br&amp;gt; # booting up on the network&lt;br /&gt;
&lt;br /&gt;
range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
# Set the amount of time in seconds that&amp;lt;br&amp;gt; # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
default-lease-time 86400;&amp;lt;br&amp;gt; max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
# Set the default gateway to be used by&amp;lt;br&amp;gt; # the PC clients&lt;br /&gt;
&lt;br /&gt;
option routers 192.168.1.1;&amp;lt;br&amp;gt; # Don't forward DHCP requests from this&amp;lt;br&amp;gt; # NIC interface to any other NIC&amp;lt;br&amp;gt; # interfaces&lt;br /&gt;
&lt;br /&gt;
option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
# Set the broadcast address and subnet mask&amp;lt;br&amp;gt; # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
option broadcast-address 192.168.1.255;&amp;lt;br&amp;gt; option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
# Set the NTP server to be used by the&amp;lt;br&amp;gt; # DHCP clients&lt;br /&gt;
&lt;br /&gt;
option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
# Set the DNS server to be used by the&amp;lt;br&amp;gt; # DHCP clients&lt;br /&gt;
&lt;br /&gt;
option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
# If you specify a WINS server for your Windows clients,&amp;lt;br&amp;gt; # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
# You can also assign specific IP addresses based on the clients'&amp;lt;br&amp;gt; # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
#host laser-printer {&amp;lt;br&amp;gt; # hardware ethernet 08:00:2b:4c:59:23;&amp;lt;br&amp;gt; # fixed-address 192.168.1.222;&amp;lt;br&amp;gt; #}&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;#&amp;lt;br&amp;gt;# List an unused interface here&amp;lt;br&amp;gt;#&amp;lt;br&amp;gt;#subnet 192.168.2.0 netmask 255.255.255.0 {&amp;lt;br&amp;gt;#}&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19629</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19629"/>
				<updated>2011-09-26T10:50:04Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver  =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011  ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag  ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene &lt;br /&gt;
#Tilføj extra netkort &lt;br /&gt;
#statisk dhcp &lt;br /&gt;
#sæt dhcp server op &lt;br /&gt;
#ip tables&lt;br /&gt;
&lt;br /&gt;
= Config  =&lt;br /&gt;
&lt;br /&gt;
== DHCP  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;&amp;quot;&amp;gt;# DHCP Server Configuration file.&lt;br /&gt;
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample&lt;br /&gt;
#   see dhcpd.conf(5) man page&lt;br /&gt;
#&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.1.0 netmask 255.255.255.0 {&lt;br /&gt;
&lt;br /&gt;
   # The range of IP addresses the server&lt;br /&gt;
   # will issue to DHCP enabled PC clients&lt;br /&gt;
   # booting up on the network&lt;br /&gt;
&lt;br /&gt;
   range 192.168.1.100 192.168.1.199;&lt;br /&gt;
&lt;br /&gt;
   # Set the amount of time in seconds that&lt;br /&gt;
   # a client may keep the IP address&lt;br /&gt;
&lt;br /&gt;
  default-lease-time 86400;&lt;br /&gt;
  max-lease-time 86400;&lt;br /&gt;
&lt;br /&gt;
   # Set the default gateway to be used by&lt;br /&gt;
   # the PC clients&lt;br /&gt;
&lt;br /&gt;
   option routers 192.168.1.1;&lt;br /&gt;
   # Don't forward DHCP requests from this&lt;br /&gt;
   # NIC interface to any other NIC&lt;br /&gt;
   # interfaces&lt;br /&gt;
&lt;br /&gt;
   option ip-forwarding off;&lt;br /&gt;
&lt;br /&gt;
   # Set the broadcast address and subnet mask&lt;br /&gt;
   # to be used by the DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option broadcast-address 192.168.1.255;&lt;br /&gt;
  option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
   # Set the NTP server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option ntp-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Set the DNS server to be used by the&lt;br /&gt;
   # DHCP clients&lt;br /&gt;
&lt;br /&gt;
  option domain-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # If you specify a WINS server for your Windows clients,&lt;br /&gt;
   # you need to include the following option in the dhcpd.conf file:&lt;br /&gt;
&lt;br /&gt;
  option netbios-name-servers 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # You can also assign specific IP addresses based on the clients'&lt;br /&gt;
   # ethernet MAC address as follows (Host's name is &amp;quot;laser-printer&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  #host laser-printer {&lt;br /&gt;
   #   hardware ethernet 08:00:2b:4c:59:23;&lt;br /&gt;
   #  fixed-address 192.168.1.222;&lt;br /&gt;
   #}&lt;br /&gt;
}&lt;br /&gt;
#&lt;br /&gt;
# List an unused interface here&lt;br /&gt;
#&lt;br /&gt;
#subnet 192.168.2.0 netmask 255.255.255.0 {&lt;br /&gt;
#}&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19619</id>
		<title>2011-39-Migrering af Linux</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=2011-39-Migrering_af_Linux&amp;diff=19619"/>
				<updated>2011-09-26T06:40:20Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: Created page with &amp;quot;= Opgaver =  == Mandag 26-9-2011 ==  === Formiddag ===  #Opdater serverene #Tilføj extra netkort #statisk dhcp #sæt dhcp server op #ip tables&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Opgaver =&lt;br /&gt;
&lt;br /&gt;
== Mandag 26-9-2011 ==&lt;br /&gt;
&lt;br /&gt;
=== Formiddag ===&lt;br /&gt;
&lt;br /&gt;
#Opdater serverene&lt;br /&gt;
#Tilføj extra netkort&lt;br /&gt;
#statisk dhcp&lt;br /&gt;
#sæt dhcp server op&lt;br /&gt;
#ip tables&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5638</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5638"/>
				<updated>2009-05-11T13:08:22Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installer  =&lt;br /&gt;
&lt;br /&gt;
Wireshark &lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
[http://mars.tekkom.dk/sw/wireshark-setup-1.0.7.exe mars.tekkom.dk wireshark v1.0.7] &lt;br /&gt;
&lt;br /&gt;
[http://www.wireshark.org/download.html Wireshark Webpage] &lt;br /&gt;
&lt;br /&gt;
== Under installationen  ==&lt;br /&gt;
&lt;br /&gt;
Efter du har valgt installations mappe kommer der en side hvor du kan vælge om du vil installere nogle services. &lt;br /&gt;
&lt;br /&gt;
Her skal du vælge Start Winpcap service &amp;quot;NPF&amp;quot; at startup. &lt;br /&gt;
&lt;br /&gt;
Ellers kan du ikke se nogle interfaces. &lt;br /&gt;
&lt;br /&gt;
Dette giver også folk uden administrator rettigheder adgang til at bruge wireshark.&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5637</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5637"/>
				<updated>2009-05-11T13:08:04Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= WireShark på Windows 7 =&lt;br /&gt;
== Installer  ==&lt;br /&gt;
&lt;br /&gt;
Wireshark&lt;br /&gt;
&lt;br /&gt;
Download&lt;br /&gt;
&lt;br /&gt;
[http://mars.tekkom.dk/sw/wireshark-setup-1.0.7.exe mars.tekkom.dk wireshark v1.0.7]&lt;br /&gt;
&lt;br /&gt;
[http://www.wireshark.org/download.html Wireshark Webpage]&lt;br /&gt;
&lt;br /&gt;
== Under installationen  ==&lt;br /&gt;
&lt;br /&gt;
Efter du har valgt installations mappe kommer der en side hvor du kan vælge om du vil installere nogle services.&lt;br /&gt;
&lt;br /&gt;
Her skal du vælge Start Winpcap service &amp;quot;NPF&amp;quot; at startup.&lt;br /&gt;
&lt;br /&gt;
Ellers kan du ikke se nogle interfaces.&lt;br /&gt;
&lt;br /&gt;
Dette giver også folk uden administrator rettigheder adgang til at bruge wireshark.&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5636</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5636"/>
				<updated>2009-05-11T13:07:51Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= WireShark på Windows 7 =&lt;br /&gt;
== Installer  ==&lt;br /&gt;
&lt;br /&gt;
Wireshark&lt;br /&gt;
&lt;br /&gt;
Download&lt;br /&gt;
&lt;br /&gt;
[http://mars.tekkom.dk/sw/wireshark-setup-1.0.7.exe mars.tekkom.dk wireshark v1.0.7]&lt;br /&gt;
&lt;br /&gt;
[http://www.wireshark.org/download.html Wireshark Webpage]&lt;br /&gt;
&lt;br /&gt;
== Under installationen  ==&lt;br /&gt;
&lt;br /&gt;
Efter du har valgt installations mappe kommer der en side hvor du kan vælge om du vil installere nogle services.&lt;br /&gt;
&lt;br /&gt;
Her skal du vælge Start Winpcap service &amp;quot;NPF&amp;quot; at startup.&lt;br /&gt;
&lt;br /&gt;
Ellers kan du ikke se nogle interfaces.&lt;br /&gt;
&lt;br /&gt;
Dette giver også folk uden administrator rettigheder adgang til at bruge wireshark.&lt;br /&gt;
&lt;br /&gt;
== Efter installationen ==&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5635</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5635"/>
				<updated>2009-05-11T13:04:07Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= WireShark på Windows 7 =&lt;br /&gt;
== Installer  ==&lt;br /&gt;
&lt;br /&gt;
Wireshark&lt;br /&gt;
&lt;br /&gt;
Download&lt;br /&gt;
&lt;br /&gt;
[http://mars.tekkom.dk/sw/wireshark-setup-1.0.7.exe mars.tekkom.dk wireshark v1.0.7]&lt;br /&gt;
&lt;br /&gt;
[http://www.wireshark.org/download.html Wireshark Webpage]&lt;br /&gt;
&lt;br /&gt;
== Under installationen ==&lt;br /&gt;
== Efter installationen ==&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5634</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5634"/>
				<updated>2009-05-11T13:03:37Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: /* Installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= WireShark på Windows 7 =&lt;br /&gt;
== Installer ==&lt;br /&gt;
Wireshark Download:&lt;br /&gt;
[http://mars.tekkom.dk/sw/wireshark-setup-1.0.7.exe mars.tekkom.dk wireshark v1.0.7]&lt;br /&gt;
[http://www.wireshark.org/download.html Wireshark Webpage]&lt;br /&gt;
&lt;br /&gt;
== Under installationen ==&lt;br /&gt;
== Efter installationen ==&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5633</id>
		<title>WireShark på Windows 7</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=WireShark_p%C3%A5_Windows_7&amp;diff=5633"/>
				<updated>2009-05-11T12:59:47Z</updated>
		
		<summary type="html">&lt;p&gt;Utte: New page: = WireShark på Windows 7 = == Installer == == Under installationen == == Efter installationen ==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= WireShark på Windows 7 =&lt;br /&gt;
== Installer ==&lt;br /&gt;
== Under installationen ==&lt;br /&gt;
== Efter installationen ==&lt;/div&gt;</summary>
		<author><name>Utte</name></author>	</entry>

	</feed>