Evite de stocker les 1000 premiers compte dans le même repertoire de

conf apache (merci Remi)
This commit is contained in:
Alan Garcia 2012-10-16 07:41:03 +00:00
parent 03e012dd46
commit c0c0858989
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ host_conffile() {
# Return the absolute path of a conf file for a FQDN
local FQDN="$1"
local U_ID=$(get_uid_by_domain "$FQDN")
local CONFFILE="$VHOST_DIR/${U_ID:0:1}/$U_ID/$FQDN.conf"
local CONFFILE="$VHOST_DIR/${U_ID:(-1)}/$U_ID/$FQDN.conf"
echo $CONFFILE
return 0
}