diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-12-20 13:01:41 (GMT) |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-12-20 13:01:41 (GMT) |
commit | 69169e37f63c2885fe0176b5c7aa7ee2079b814e (patch) | |
tree | 06889049d626eb491721a4fa6eca113d5e3b3743 | |
parent | e61dae23d75394a1ab4a2774975e51a8ff7b4e9c (diff) | |
download | kolab-wap-69169e37f63c2885fe0176b5c7aa7ee2079b814e.tar.gz |
Move some parts of the main .htaccess to be API interface specific
-rw-r--r-- | public_html/.htaccess | 9 | ||||
-rw-r--r-- | public_html/api/.htaccess | 2 |
2 files changed, 6 insertions, 5 deletions
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 +</IfModule> - 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 -</IfModule> 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 |