diff --git a/public/.htaccess b/public/.htaccess index e69de29..c9018b0 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -0,0 +1,7 @@ + + Options +FollowSymlinks -Multiviews + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] + diff --git a/public/nginx.htaccess b/public/nginx.htaccess index 686c455..0df5722 100644 --- a/public/nginx.htaccess +++ b/public/nginx.htaccess @@ -1,5 +1,5 @@ -location / { - if (!-e $request_filename){ - rewrite ^(.*)$ /index.php?s=$1 last; break; - } +location / { + if (!-e $request_filename){ + rewrite ^(.*)$ /index.php?s=$1 last; break; + } } \ No newline at end of file