diff --git a/public/.htaccess b/public/htaccess-apache similarity index 94% rename from public/.htaccess rename to public/htaccess-apache index cbc786893..f1adcc2fa 100755 --- a/public/.htaccess +++ b/public/htaccess-apache @@ -5,4 +5,4 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] - + \ No newline at end of file diff --git a/public/htaccess-nginx b/public/htaccess-nginx new file mode 100644 index 000000000..9778694c9 --- /dev/null +++ b/public/htaccess-nginx @@ -0,0 +1,5 @@ +location / { + if (!-e $request_filename) { + rewrite ^(.*)$ /index.php?s=/$1 last; + } +} \ No newline at end of file