- mail related tables in database schema
- gpg encryption for mails - domain creation and deletion completed - logging - use pwd and grp git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@230 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
parent
3f4457bdca
commit
fdea3217c8
28 changed files with 877 additions and 323 deletions
6
data/templates/domain/index.html
Normal file
6
data/templates/domain/index.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<html>
|
||||
<head><title>Hier entsteht ein neuer Internetauftritt</title></head>
|
||||
<body>
|
||||
<p>Hier entsteht der Internetauftritt für www.${domain}.</p>
|
||||
</body>
|
||||
</html>
|
4
data/templates/domainconf/htaccess-stats
Normal file
4
data/templates/domainconf/htaccess-stats
Normal file
|
@ -0,0 +1,4 @@
|
|||
AuthType Basic
|
||||
AuthName "Statistics for ${domain}"
|
||||
AuthUserFile "${userfile}"
|
||||
require valid-user
|
42
data/templates/domainconf/modlogan.conf
Normal file
42
data/templates/domainconf/modlogan.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
[global]
|
||||
includepath = /etc/modlogan
|
||||
include = modlogan.def.conf,global
|
||||
|
||||
loadplugin = input_clf
|
||||
loadplugin = processor_web
|
||||
loadplugin = output_modlogan
|
||||
|
||||
statedir = ${statsdir}
|
||||
|
||||
incremental = 1
|
||||
enable_resolver = 1
|
||||
|
||||
read_ahead_limit = 100
|
||||
|
||||
[processor_web]
|
||||
# to group known bot attacks like Nimda and CodeRed
|
||||
include = group.url.conf,group_exploits
|
||||
# to use the german file extension descriptions uncomment the following
|
||||
#include = group.extension.conf,groupext_german
|
||||
# include the default config
|
||||
include = modlogan.def.conf,processor_web
|
||||
|
||||
# to only have pages listed, not files
|
||||
#hideurl="\.(?i:gif|png|jpe?g|css|js|class|mid|swf|mp3|mpg)$$"
|
||||
# to not show people they're reading the stats more often than people their page...
|
||||
hideurl="^/stats"
|
||||
|
||||
debug_searchengines = 1
|
||||
hidereferrer = "^http://([^.]+\.)*${domainesc}/"
|
||||
|
||||
## configure the output generator
|
||||
[output_modlogan]
|
||||
include = modlogan.def.conf,output_modlogan
|
||||
hostname = ${domain}
|
||||
|
||||
outputdir = ${statsdir}
|
||||
|
||||
## configure the parser
|
||||
[input_clf]
|
||||
include = modlogan.def.conf,input_clf
|
||||
inputfile = -
|
10
data/templates/domainconf/vhost.conf
Normal file
10
data/templates/domainconf/vhost.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
<VirtualHost ${ipaddr}:80>
|
||||
ServerName www.${domain}
|
||||
ServerAlias ${domain}
|
||||
|
||||
Alias /stats ${statsdir}
|
||||
DocumentRoot ${docroot}
|
||||
|
||||
ErrorLog ${logdir}/error.log
|
||||
CustomLog ${logdir}/access.log combined
|
||||
</VirtualHost>
|
8
data/templates/mails/create_client.txt
Normal file
8
data/templates/mails/create_client.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
A new client with the following data has been created:
|
||||
|
||||
Firstname : ${firstname}
|
||||
Lastname : ${lastname}
|
||||
Email : ${email}
|
||||
Address : ${address1}
|
||||
: ${zipcode} ${city}
|
||||
Phone : ${phone}
|
14
data/templates/mails/create_domain.txt
Normal file
14
data/templates/mails/create_domain.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
A new domain with the following data has been created:
|
||||
|
||||
System user : ${sysuser}
|
||||
Domain name : ${domain}
|
||||
Document root : ${docroot}
|
||||
Statistics password : ${statspass}
|
||||
|
||||
To enable the domain in apache use
|
||||
|
||||
sudo a2ensite ${domain}
|
||||
|
||||
You can access statistics for the domain at
|
||||
|
||||
http://www.${domain}/stats/
|
8
data/templates/mails/create_sysuser.txt
Normal file
8
data/templates/mails/create_sysuser.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
A new system user has been created
|
||||
|
||||
UID : ${uid}
|
||||
Client : ${firstname} ${lastname} <${email}>
|
||||
Username : ${username}
|
||||
Password : ${password}
|
||||
Home : ${home}
|
||||
Shell : ${shell}
|
Loading…
Add table
Add a link
Reference in a new issue