File: apache.conf

package info (click to toggle)
ezpublish 2.2.8-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,372 kB
  • ctags: 28
  • sloc: sh: 539; makefile: 122
file content (22 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Directory /var/www/ezpublish/>
	Options Indexes
	AllowOverride None
	order deny,allow

# Deny everything sensible
	<FilesMatch "\.(php|ini|tpl|txt|info|cache|gz|sh|sql)$">
		deny from all
	</FilesMatch>

# .php would be denied normally, but we want to allow index*.php
	<FilesMatch "index.*\.php$">
		allow from all
	</FilesMatch>

# Enable this with php3
#	php3_magic_quotes_gpc off

# Enable this with php4
#	php_value magic_quotes_gpc off

</Directory>