File: apache2.conf

package info (click to toggle)
spip 3.0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 30,776 kB
  • sloc: php: 200,550; xml: 4,367; sh: 272; makefile: 39
file content (37 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (7)
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>