File: apache2.conf

package info (click to toggle)
spip 4.4.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 39,808 kB
  • sloc: php: 300,132; javascript: 67,976; xml: 4,389; sh: 165; makefile: 92
file content (37 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# vim:syntax=apache
# Apache virtual host configuration example
# for mutualized SPIP hosts
#NameVirtualHost *:80
<VirtualHost *:80>
	ServerAdmin admin@domain.org
	ServerName spip.domain.org
	
	DocumentRoot /usr/share/spip
	Alias /IMG /var/lib/spip/sites/default/IMG
	Alias /local /var/lib/spip/sites/default/local

	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>

        # Deny access to /tmp:
        <Location /tmp/>
          Require all denied
        </Location>

        # Disable scripts in /IMG:
        <Directory /var/lib/spip/sites/default/IMG>
          php_flag engine Off
        </Directory>

	ErrorLog /var/log/apache2/spip.domain.org-error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/spip.domain.org-access.log combined
	ServerSignature On

</VirtualHost>