From a3630c3eb1c783b2ed09d57deed037a77c8d01d7 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 11 Mar 2011 12:52:33 +0000 Subject: [PATCH] =?UTF-8?q?Bureau=20alternc=20maintenant=20directement=20s?= =?UTF-8?q?ur=20le=20/=20du=20fqdn.=20Regle=20apache=20de=20retrocompatibi?= =?UTF-8?q?lit=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/alternc/templates/alternc/bureau.conf | 5 +++-- etc/alternc/templates/apache2/panel.conf | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/etc/alternc/templates/alternc/bureau.conf b/etc/alternc/templates/alternc/bureau.conf index d5bb5a42..db183599 100644 --- a/etc/alternc/templates/alternc/bureau.conf +++ b/etc/alternc/templates/alternc/bureau.conf @@ -1,7 +1,8 @@ - DocumentRoot /var/alternc/bureau + DocumentRoot /var/alternc/bureau/admin ServerName %%fqdn%% - RedirectMatch ^/$ /admin/ + RewriteEngine on + RewriteRule ^/admin/(.*) /$1 alias /admin/sql /usr/share/phpmyadmin alias /webmail /usr/share/squirrelmail diff --git a/etc/alternc/templates/apache2/panel.conf b/etc/alternc/templates/apache2/panel.conf index a8ffa22e..8e367d73 100644 --- a/etc/alternc/templates/apache2/panel.conf +++ b/etc/alternc/templates/apache2/panel.conf @@ -1,7 +1,8 @@ - DocumentRoot /var/alternc/bureau + DocumentRoot /var/alternc/bureau/admin ServerName %%fqdn%% - RedirectMatch ^/$ /admin/ + RewriteEngine on + RewriteRule ^/admin/(.*) /$1 alias /admin/sql /usr/share/phpmyadmin alias /webmail /usr/share/squirrelmail