apache_ispconfig.conf.master 1.42 KB
Newer Older
1
2
3
4
5

################################################
# ISPConfig Logfile configuration for vlogger
################################################

6
LogFormat "%v %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
7
CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" -d \"/etc/vlogger-dbi.conf\" /var/log/ispconfig/httpd" combined_ispconfig
8

9
10
11
12
13
14
<Directory /var/www/clients>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

15
16
# Do not allow access to the root file system of the server for security reasons
<Directory />
17
18
19
20
21
22
23
24
25
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<Directory /var/www/conf>
    AllowOverride None
    Order Deny,Allow
    Deny from all
26
27
28
29
30
31
32
33
</Directory>

# Except of the following directories that contain website scripts
<Directory /usr/share/phpmyadmin>
        Order allow,deny
        Allow from all
</Directory>

34
35
36
37
38
<Directory /usr/share/phpMyAdmin>
        Order allow,deny
        Allow from all
</Directory>

39
40
41
42
43
<Directory /usr/share/squirrelmail>
        Order allow,deny
        Allow from all
</Directory>

tbrehm's avatar
tbrehm committed
44
45
46
47
48
# allow path to awstats and alias for awstats icons
<Directory /usr/share/awstats>
        Order allow,deny
        Allow from all
</Directory>
49

tbrehm's avatar
tbrehm committed
50
Alias /awstats-icon "/usr/share/awstats/icon"
51

52
<tmpl_loop name="ip_adresses">
53
NameVirtualHost {tmpl_var name="ip_address"}:{tmpl_var name="port"}
54
</tmpl_loop>
55