diff --git a/.gitattributes b/.gitattributes
index 446693d9..99344b21 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -351,6 +351,10 @@ etc/alternc/phpmyadmin.inc.php -text
etc/alternc/postfix-slave.cf -text
etc/alternc/postfix.cf -text
etc/alternc/templates/alternc/bureau.conf -text
+etc/alternc/templates/apache2/panel.conf -text
+etc/alternc/templates/apache2/redirect.conf -text
+etc/alternc/templates/apache2/vhost.conf -text
+etc/alternc/templates/apache2/webmail.conf -text
etc/alternc/templates/bind/automatic.conf -text
etc/alternc/templates/bind/named.conf.options -text
etc/alternc/templates/bind/slaveip.conf -text
diff --git a/etc/alternc/templates/apache2/panel.conf b/etc/alternc/templates/apache2/panel.conf
new file mode 100644
index 00000000..c8171cd3
--- /dev/null
+++ b/etc/alternc/templates/apache2/panel.conf
@@ -0,0 +1,19 @@
+
+ DocumentRoot /var/alternc/bureau
+ ServerName %%fqdn%%
+
+ alias /admin/sql /usr/share/phpmyadmin
+ alias /webmail /usr/share/squirrelmail
+
+
+ Options FollowSymLinks
+ AllowOverride None
+
+
+ php_admin_flag safe_mode_gid off
+ php_admin_flag safe_mode off
+ php_admin_flag register_globals on
+ AddDefaultCharset ISO-8859-1
+ php_admin_value open_basedir /etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/
+
+
diff --git a/etc/alternc/templates/apache2/redirect.conf b/etc/alternc/templates/apache2/redirect.conf
new file mode 100644
index 00000000..44edfee0
--- /dev/null
+++ b/etc/alternc/templates/apache2/redirect.conf
@@ -0,0 +1,9 @@
+
+
+ ServerName %%fqdn%%
+
+ KeepAlive Off
+
+ RewriteEngine On
+ RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
+
diff --git a/etc/alternc/templates/apache2/vhost.conf b/etc/alternc/templates/apache2/vhost.conf
new file mode 100644
index 00000000..717cc1f4
--- /dev/null
+++ b/etc/alternc/templates/apache2/vhost.conf
@@ -0,0 +1,7 @@
+
+ ServerName %%fqdn%%
+ DocumentRoot %%document_root%%
+
+ php_admin_value open_basedir %%document_root%%:/var/alternc/dns/redir:/usr/share/php/:/var/alternc/tmp:/tmp
+
+
diff --git a/etc/alternc/templates/apache2/webmail.conf b/etc/alternc/templates/apache2/webmail.conf
new file mode 100644
index 00000000..4a9754ab
--- /dev/null
+++ b/etc/alternc/templates/apache2/webmail.conf
@@ -0,0 +1,11 @@
+
+ ServerName %%fqdn%%
+ DocumentRoot /usr/share/squirrelmail
+
+ # php_value register_globals On # refer to Debian bug #128226
+ php_flag register_globals on
+ php_value open_basedir /usr/share/squirrelmail
+ php_admin_flag safe_mode off
+ Options Indexes FollowSymLinks
+
+