From 6c46364498f942b9dbb7437610cf582a5550baeb Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Fri, 8 Mar 2019 13:33:27 +0000 Subject: [PATCH] Backend Service Layer --- svrswww/api/providers/.htaccess | 21 +++++++++++++++++++++ svrswww/api/users/.htaccess | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 svrswww/api/providers/.htaccess create mode 100644 svrswww/api/users/.htaccess diff --git a/svrswww/api/providers/.htaccess b/svrswww/api/providers/.htaccess new file mode 100644 index 0000000..c663536 --- /dev/null +++ b/svrswww/api/providers/.htaccess @@ -0,0 +1,21 @@ + + +RewriteEngine On +RewriteBase /api/providers/ +#RewriteBase / + +#Checks to +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ index.php?/$1 [L] + + + + + # If we don't have mod_rewrite installed, all 404's + # can be sent to index.php, and everything works as normal. + # Submitted by: ElliotHaughin + +ErrorDocument 404 /index.php + + diff --git a/svrswww/api/users/.htaccess b/svrswww/api/users/.htaccess new file mode 100644 index 0000000..6c1221f --- /dev/null +++ b/svrswww/api/users/.htaccess @@ -0,0 +1,21 @@ + + +RewriteEngine On +RewriteBase /api/users/ +#RewriteBase / + +#Checks to +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ index.php?/$1 [L] + + + + + # If we don't have mod_rewrite installed, all 404's + # can be sent to index.php, and everything works as normal. + # Submitted by: ElliotHaughin + +ErrorDocument 404 /index.php + +