From 23e423404bc9a2d647fd5c98d2090bd64a3b3f01 Mon Sep 17 00:00:00 2001 From: jfefe Date: Sat, 2 May 2015 15:25:48 +0200 Subject: [PATCH] Add API htaccess file for Apache webserver --- htdocs/public/api/.htaccess | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 htdocs/public/api/.htaccess diff --git a/htdocs/public/api/.htaccess b/htdocs/public/api/.htaccess new file mode 100644 index 00000000000..a8106809018 --- /dev/null +++ b/htdocs/public/api/.htaccess @@ -0,0 +1,15 @@ +# +# Apache configuration file to use API +# + +DirectoryIndex index.php + + RewriteEngine On + RewriteRule ^$ index.php [QSA,L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ index.php [QSA,L] + + + php_flag display_errors On + \ No newline at end of file