From f2a56a998a7a36f030091ea0f0c99557b8df2495 Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Wed, 3 Mar 2010 15:12:13 +0200 Subject: [PATCH] CRLF to LF in htaccess file --- webservice/clienttools/services/0.9.1/.htaccess | 236 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------- 1 file changed, 118 insertions(+), 118 deletions(-) diff --git a/webservice/clienttools/services/0.9.1/.htaccess b/webservice/clienttools/services/0.9.1/.htaccess index cab070d..f7c094c 100644 --- a/webservice/clienttools/services/0.9.1/.htaccess +++ b/webservice/clienttools/services/0.9.1/.htaccess @@ -1,118 +1,118 @@ -# This file sets up the necessary PHP settings to run KnowledgeTree -# optimally. -# -# It is best that KnowledgeTree be allowed to manage its PHP and access -# permissions using these .htaccess files. This prevents direct access -# to libraries, scripts, and documents that should not be available via -# the web. -# -# By default, to facilitate quick testing of functionality, -# KnowledgeTree places the Documents directory within the KnowledgeTree -# web root. This, by default, would allow people to browse the -# documents in the DMS, bypassing the security permissions. The -# default .htaccess settings would prevent this. -# -# KnowledgeTree itself is able to deal with most PHP configurations, -# excepting "safe mode" currently, but is unable to handle certain -# inherent configuration options (for example, setting the upload size -# very low). Check the setup checklists (as described in the -# documentation) to see how your configuration is handled. -# -# The default .htaccess settings ensure that no workarounds occur in the -# PHP code, leading to better performance and robustness. -# - -php_value default_mimetype text/html -php_value auto_prepend_file none -php_value auto_append_file none -php_flag display_startup_errors ON -php_flag display_errors ON -php_flag file_uploads ON -php_flag magic_quotes_gpc OFF -php_flag magic_quotes_runtime OFF -php_flag register_globals OFF -php_flag output_buffering OFF -php_flag session.auto_start OFF - - - -php_value default_mimetype text/html -php_value auto_prepend_file none -php_value auto_append_file none -php_flag display_startup_errors ON -php_flag display_errors ON -php_flag file_uploads ON -php_flag magic_quotes_gpc OFF -php_flag magic_quotes_runtime OFF -php_flag register_globals OFF -php_flag output_buffering OFF -php_flag session.auto_start OFF - - - -SetEnv kt_htaccess_worked yes -SetEnvIf Authorization (.*) kt_auth=$1 - -LimitRequestBody 0 -DirectoryIndex index.html index.php -Options none -Options +ExecCGI -Options +SymLinksIfOwnerMatch -#AcceptPathInfo On - -AddOutputFilter DEFLATE text/html text/plain text/xml text/javascript application/x-javascript text/css -# The following seems to breaking things on ZendServer - kgf -#ExpiresActive ON -#ExpiresByType text/html "access plus 1 day" -#ExpiresByType text/css "access plus 1 day" -#ExpiresByType text/javascript "access plus 7 days" -#ExpiresByType application/x-javascript "access plus 7 days" -#ExpiresByType image/gif "access plus 1 month" -#ExpiresByType image/jpg "access plus 1 month" -#ExpiresByType image/png "access plus 1 month" -#ExpiresByType image/x-icon "access plus 1 month" - -# -# If you are having uploading larger documents, adjust the 16M examples -# below to increase the maximum file size. This is set to a reasonable -# size for testing and most usage patterns, as increased sizes may allow -# malicious users to use up resources. -# - -php_value upload_max_filesize -1 -php_value post_max_size 2000M -php_value memory_limit -1 -php_value max_input_time -1 -php_value max_execution_time 0 -php_value error_reporting 5 - - -php_value upload_max_filesize -1 -php_value post_max_size 2000M -php_value memory_limit -1 -php_value max_input_time -1 -php_value max_execution_time 0 -php_value error_reporting 5 - - -# Workaround for mod_auth when running php cgi - -RewriteEngine on -RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] - - -# -#RewriteEngine On -#RewriteBase / -## Set RewriteBase to the base directory that KnowledgeTree is viewable -## from via the web. So http://foo.org/ is /, and -## http://bar.com/knowledgeTree/ is /knowledgeTree -##RewriteBase /knowledgeTree -#RewriteCond %{REQUEST_FILENAME} !-f -#RewriteCond %{REQUEST_FILENAME}.php -f -#RewriteRule !^[^/]*.php - [C] -#RewriteRule ^([^/]*)([/].+)? $1.php [E=kt_path_info:$2,E=kt_orig_file:$1.php] -# -#SetEnv kt_no_extensions yes -# -# +# This file sets up the necessary PHP settings to run KnowledgeTree +# optimally. +# +# It is best that KnowledgeTree be allowed to manage its PHP and access +# permissions using these .htaccess files. This prevents direct access +# to libraries, scripts, and documents that should not be available via +# the web. +# +# By default, to facilitate quick testing of functionality, +# KnowledgeTree places the Documents directory within the KnowledgeTree +# web root. This, by default, would allow people to browse the +# documents in the DMS, bypassing the security permissions. The +# default .htaccess settings would prevent this. +# +# KnowledgeTree itself is able to deal with most PHP configurations, +# excepting "safe mode" currently, but is unable to handle certain +# inherent configuration options (for example, setting the upload size +# very low). Check the setup checklists (as described in the +# documentation) to see how your configuration is handled. +# +# The default .htaccess settings ensure that no workarounds occur in the +# PHP code, leading to better performance and robustness. +# + +php_value default_mimetype text/html +php_value auto_prepend_file none +php_value auto_append_file none +php_flag display_startup_errors ON +php_flag display_errors ON +php_flag file_uploads ON +php_flag magic_quotes_gpc OFF +php_flag magic_quotes_runtime OFF +php_flag register_globals OFF +php_flag output_buffering OFF +php_flag session.auto_start OFF + + + +php_value default_mimetype text/html +php_value auto_prepend_file none +php_value auto_append_file none +php_flag display_startup_errors ON +php_flag display_errors ON +php_flag file_uploads ON +php_flag magic_quotes_gpc OFF +php_flag magic_quotes_runtime OFF +php_flag register_globals OFF +php_flag output_buffering OFF +php_flag session.auto_start OFF + + + +SetEnv kt_htaccess_worked yes +SetEnvIf Authorization (.*) kt_auth=$1 + +LimitRequestBody 0 +DirectoryIndex index.html index.php +Options none +Options +ExecCGI +Options +SymLinksIfOwnerMatch +#AcceptPathInfo On + +AddOutputFilter DEFLATE text/html text/plain text/xml text/javascript application/x-javascript text/css +# The following seems to breaking things on ZendServer - kgf +#ExpiresActive ON +#ExpiresByType text/html "access plus 1 day" +#ExpiresByType text/css "access plus 1 day" +#ExpiresByType text/javascript "access plus 7 days" +#ExpiresByType application/x-javascript "access plus 7 days" +#ExpiresByType image/gif "access plus 1 month" +#ExpiresByType image/jpg "access plus 1 month" +#ExpiresByType image/png "access plus 1 month" +#ExpiresByType image/x-icon "access plus 1 month" + +# +# If you are having uploading larger documents, adjust the 16M examples +# below to increase the maximum file size. This is set to a reasonable +# size for testing and most usage patterns, as increased sizes may allow +# malicious users to use up resources. +# + +php_value upload_max_filesize -1 +php_value post_max_size 2000M +php_value memory_limit -1 +php_value max_input_time -1 +php_value max_execution_time 0 +php_value error_reporting 5 + + +php_value upload_max_filesize -1 +php_value post_max_size 2000M +php_value memory_limit -1 +php_value max_input_time -1 +php_value max_execution_time 0 +php_value error_reporting 5 + + +# Workaround for mod_auth when running php cgi + +RewriteEngine on +RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + + +# +#RewriteEngine On +#RewriteBase / +## Set RewriteBase to the base directory that KnowledgeTree is viewable +## from via the web. So http://foo.org/ is /, and +## http://bar.com/knowledgeTree/ is /knowledgeTree +##RewriteBase /knowledgeTree +#RewriteCond %{REQUEST_FILENAME} !-f +#RewriteCond %{REQUEST_FILENAME}.php -f +#RewriteRule !^[^/]*.php - [C] +#RewriteRule ^([^/]*)([/].+)? $1.php [E=kt_path_info:$2,E=kt_orig_file:$1.php] +# +#SetEnv kt_no_extensions yes +# +# -- libgit2 0.21.4