1 |
diff -up smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86bugzilla.trustBugzillaHtAccessFiles smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86bugzilla |
2 |
--- smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86bugzilla.trustBugzillaHtAccessFiles 2007-08-13 09:02:22.000000000 +0200 |
3 |
+++ smeserver-bugzilla-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86bugzilla 2009-12-05 13:58:30.000000000 +0100 |
4 |
@@ -2,47 +2,22 @@ |
5 |
# httpd configuration settings for use with bugzilla. |
6 |
# |
7 |
|
8 |
-Alias /bugzilla "/usr/share/bugzilla" |
9 |
-<Directory "/usr/share/bugzilla"> |
10 |
- AddHandler cgi-script .cgi |
11 |
- Options +ExecCGI |
12 |
- DirectoryIndex index.cgi |
13 |
- Order allow,deny |
14 |
- Allow from all |
15 |
- AddType application/vnd.mozilla.xul+xml .xul |
16 |
- AddType application/rdf+xml .rdf |
17 |
- <FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$> |
18 |
- deny from all |
19 |
- </FilesMatch> |
20 |
-</Directory> |
21 |
+Alias /bugzilla /usr/share/bugzilla |
22 |
+<Directory /usr/share/bugzilla> |
23 |
+ AddHandler cgi-script .cgi |
24 |
+ Options +ExecCGI |
25 |
+ Options +FollowSymLinks |
26 |
+ DirectoryIndex index.cgi |
27 |
+ AllowOverride Limit |
28 |
+ |
29 |
+ Order allow,deny |
30 |
+ Allow from all |
31 |
+ |
32 |
+ RewriteEngine on |
33 |
+ RewriteBase /bugzilla/ |
34 |
+ RewriteRule ^index\.html$ index.cgi [T=application/x-httpd-cgi] |
35 |
|
36 |
-<Directory "/usr/share/bugzilla/data"> |
37 |
- deny from all |
38 |
- <Files duplicates.rdf> |
39 |
- allow from all |
40 |
- </Files> |
41 |
-</Directory> |
42 |
+ AddType application/vnd.mozilla.xul+xml .xul |
43 |
+ AddType application/rdf+xml .rdf |
44 |
|
45 |
-<Directory "/usr/share/bugzilla/data/webdot"> |
46 |
- <FilesMatch \.dot$> |
47 |
- Allow from 192.20.225.10 |
48 |
- Deny from all |
49 |
- </FilesMatch> |
50 |
- <FilesMatch \.png$> |
51 |
- Allow from all |
52 |
- </FilesMatch> |
53 |
- Deny from all |
54 |
</Directory> |
55 |
- |
56 |
-<Directory "/usr/share/bugzilla/data/attachments"> |
57 |
- deny from all |
58 |
-</Directory> |
59 |
- |
60 |
-<Directory "/usr/share/bugzilla/template"> |
61 |
- deny from all |
62 |
-</Directory> |
63 |
- |
64 |
-<Directory "/usr/share/bugzilla/Bugzilla"> |
65 |
- deny from all |
66 |
-</Directory> |
67 |
- |