We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8990383 commit 300a033Copy full SHA for 300a033
bin/v-add-web-domain-stats
@@ -67,11 +67,11 @@ cat $WEBTPL/$type/$type.tpl |\
67
-e "s|%home%|$HOMEDIR|g" \
68
-e "s|%alias%|${aliases//,/ }|g" \
69
-e "s|%alias_idn%|${aliases_idn//,/ }|g" \
70
- > $HOMEDIR/$user/conf/web/$type.$domain.conf
+ > $HOMEDIR/$user/conf/web/$domain/$type.conf
71
72
if [ "$type" == 'awstats' ]; then
73
rm -f /etc/awstats/$type.$domain_idn.conf
74
- ln -s $HOMEDIR/$user/conf/web/$type.$domain.conf \
+ ln -s $HOMEDIR/$user/conf/web/$domain/$type.conf \
75
/etc/awstats/$type.$domain_idn.conf
76
fi
77
0 commit comments