Commit 515bed4a09ee66e7275cb0f626ddd5afa0c64876

Authored by Megan Watson
1 parent 86e9dd1a

removed htaccess file

Committed by: Megan Watson
webservice/clienttools/services/0.9.1/.htaccess deleted
1   -# This file sets up the necessary PHP settings to run KnowledgeTree
2   -# optimally.
3   -#
4   -# It is best that KnowledgeTree be allowed to manage its PHP and access
5   -# permissions using these .htaccess files. This prevents direct access
6   -# to libraries, scripts, and documents that should not be available via
7   -# the web.
8   -#
9   -# By default, to facilitate quick testing of functionality,
10   -# KnowledgeTree places the Documents directory within the KnowledgeTree
11   -# web root. This, by default, would allow people to browse the
12   -# documents in the DMS, bypassing the security permissions. The
13   -# default .htaccess settings would prevent this.
14   -#
15   -# KnowledgeTree itself is able to deal with most PHP configurations,
16   -# excepting "safe mode" currently, but is unable to handle certain
17   -# inherent configuration options (for example, setting the upload size
18   -# very low). Check the setup checklists (as described in the
19   -# documentation) to see how your configuration is handled.
20   -#
21   -# The default .htaccess settings ensure that no workarounds occur in the
22   -# PHP code, leading to better performance and robustness.
23   -#
24   -<IfModule mod_php5.c>
25   -php_value default_mimetype text/html
26   -php_value auto_prepend_file none
27   -php_value auto_append_file none
28   -php_flag display_startup_errors ON
29   -php_flag display_errors ON
30   -php_flag file_uploads ON
31   -php_flag magic_quotes_gpc OFF
32   -php_flag magic_quotes_runtime OFF
33   -php_flag register_globals OFF
34   -php_flag output_buffering OFF
35   -php_flag session.auto_start OFF
36   -</IfModule>
37   -
38   -<IfModule sapi_apache2.c>
39   -php_value default_mimetype text/html
40   -php_value auto_prepend_file none
41   -php_value auto_append_file none
42   -php_flag display_startup_errors ON
43   -php_flag display_errors ON
44   -php_flag file_uploads ON
45   -php_flag magic_quotes_gpc OFF
46   -php_flag magic_quotes_runtime OFF
47   -php_flag register_globals OFF
48   -php_flag output_buffering OFF
49   -php_flag session.auto_start OFF
50   -</IfModule>
51   -
52   -<IfModule mod_env.c>
53   -SetEnv kt_htaccess_worked yes
54   -SetEnvIf Authorization (.*) kt_auth=$1
55   -</IfModule>
56   -LimitRequestBody 0
57   -DirectoryIndex index.html index.php
58   -Options none
59   -Options +ExecCGI
60   -Options +SymLinksIfOwnerMatch
61   -#AcceptPathInfo On
62   -
63   -AddOutputFilter DEFLATE text/html text/plain text/xml text/javascript application/x-javascript text/css
64   -# The following seems to breaking things on ZendServer - kgf
65   -#ExpiresActive ON
66   -#ExpiresByType text/html "access plus 1 day"
67   -#ExpiresByType text/css "access plus 1 day"
68   -#ExpiresByType text/javascript "access plus 7 days"
69   -#ExpiresByType application/x-javascript "access plus 7 days"
70   -#ExpiresByType image/gif "access plus 1 month"
71   -#ExpiresByType image/jpg "access plus 1 month"
72   -#ExpiresByType image/png "access plus 1 month"
73   -#ExpiresByType image/x-icon "access plus 1 month"
74   -
75   -#
76   -# If you are having uploading larger documents, adjust the 16M examples
77   -# below to increase the maximum file size. This is set to a reasonable
78   -# size for testing and most usage patterns, as increased sizes may allow
79   -# malicious users to use up resources.
80   -#
81   -<IfModule mod_php5.c>
82   -php_value upload_max_filesize -1
83   -php_value post_max_size 2000M
84   -php_value memory_limit -1
85   -php_value max_input_time -1
86   -php_value max_execution_time 0
87   -php_value error_reporting 5
88   -</IfModule>
89   -<IfModule sapi_apache2.c>
90   -php_value upload_max_filesize -1
91   -php_value post_max_size 2000M
92   -php_value memory_limit -1
93   -php_value max_input_time -1
94   -php_value max_execution_time 0
95   -php_value error_reporting 5
96   -</IfModule>
97   -
98   -# Workaround for mod_auth when running php cgi
99   -<IfModule mod_rewrite.c>
100   -RewriteEngine on
101   -RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
102   -</IfModule>
103   -
104   -#<IfModule mod_rewrite.c>
105   -#RewriteEngine On
106   -#RewriteBase /
107   -## Set RewriteBase to the base directory that KnowledgeTree is viewable
108   -## from via the web. So http://foo.org/ is /, and
109   -## http://bar.com/knowledgeTree/ is /knowledgeTree
110   -##RewriteBase /knowledgeTree
111   -#RewriteCond %{REQUEST_FILENAME} !-f
112   -#RewriteCond %{REQUEST_FILENAME}.php -f
113   -#RewriteRule !^[^/]*.php - [C]
114   -#RewriteRule ^([^/]*)([/].+)? $1.php [E=kt_path_info:$2,E=kt_orig_file:$1.php]
115   -#<IfModule mod_env.c>
116   -#SetEnv kt_no_extensions yes
117   -#</IfModule>
118   -#</IfModule>