11
« on: 2014-08-21, 21:57:54 »
### begin - web of initial - do not remove/modify this line
Define global::port 80
Define global::portssl 443
Define global::ip *
Listen ${global::ip}:${global::port}
Listen ${global::ip}:${global::portssl}
<IfVersion < 2.4>
NameVirtualHost ${global::ip}:${global::port}
NameVirtualHost ${global::ip}:${global::portssl}
</IfVersion>
<Ifmodule mod_userdir.c>
UserDir enabled
UserDir /home/*/public_html
<Location "/~admin">
<IfModule mod_suphp.c>
SuPhp_UserGroup admin admin
</IfModule>
</Location>
<Location "/~jesse">
<IfModule mod_suphp.c>
SuPhp_UserGroup jesse jesse
</IfModule>
</Location>
<Location "/~test">
<IfModule mod_suphp.c>
SuPhp_UserGroup test test
</IfModule>
</Location>
</Ifmodule>
### 'default' config
<VirtualHost ${global::ip}:${global::port}>
SetEnvIf X-Forwarded-Proto https HTTPS=1
ServerName default
ServerAlias default.*
DocumentRoot "/home/kloxo/httpd/default"
DirectoryIndex index.php index.html index.shtml index.htm index.pl index.py index.cgi index.rb default.htm Default.aspx Default.asp
<IfModule suexec.c>
SuexecUserGroup apache apache
</IfModule>
<IfModule mod_suphp.c>