From 69169e37f63c2885fe0176b5c7aa7ee2079b814e Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Tue, 20 Dec 2011 14:01:41 +0100 Subject: Move some parts of the main .htaccess to be API interface specific --- public_html/.htaccess | 9 ++++----- public_html/api/.htaccess | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 public_html/api/.htaccess diff --git a/public_html/.htaccess b/public_html/.htaccess index 04cac9d..b228331 100644 --- a/public_html/.htaccess +++ b/public_html/.htaccess @@ -8,10 +8,9 @@ RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^api/(.*)\.(.*)$ api/index.php?service=$1&method=$2 [L,QSA] - AddDefaultCharset UTF-8 + - php_value error_reporting 6135 - php_flag session.auto_start Off - php_flag session.use_cookies Off +AddDefaultCharset UTF-8 + +php_value error_reporting 6135 - diff --git a/public_html/api/.htaccess b/public_html/api/.htaccess new file mode 100644 index 0000000..d67dd35 --- /dev/null +++ b/public_html/api/.htaccess @@ -0,0 +1,2 @@ +php_flag session.auto_start Off +php_flag session.use_cookies Off -- cgit v0.12