Apache templates updated: var LOGIN added (for vlogger)

This commit is contained in:
Axel ROGER 2012-08-24 15:40:01 +00:00
parent 7ce6291039
commit 6155ddabc9
3 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<VirtualHost *:80> <VirtualHost *:80>
DocumentRoot /var/alternc/bureau/admin DocumentRoot /var/alternc/bureau/admin
AssignUserId alterncpanel alterncpanel AssignUserId alterncpanel alterncpanel
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
ServerName %%fqdn%% ServerName %%fqdn%%
RewriteEngine on RewriteEngine on
RewriteRule ^/admin/(.*) /$1 RewriteRule ^/admin/(.*) /$1

View File

@ -1,6 +1,7 @@
<Virtualhost *:80> <Virtualhost *:80>
ServerName %%fqdn%% ServerName %%fqdn%%
AssignUserId #%%UID%% #%%GID%% AssignUserId #%%UID%% #%%GID%%
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
KeepAlive Off KeepAlive Off

View File

@ -1,6 +1,7 @@
<VirtualHost *:80> <VirtualHost *:80>
ServerName %%fqdn%% ServerName %%fqdn%%
AssignUserId www-data www-data AssignUserId www-data www-data
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
DocumentRoot /usr/share/squirrelmail DocumentRoot /usr/share/squirrelmail
<Directory /usr/share/squirrelmail> <Directory /usr/share/squirrelmail>