|
|
Ok!
|
|
|
Ok!
|
|---|---|---|---|---|
| 285 | RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} /public/([^s?]*) [NC]
RewriteRule ^ %1 [L,NE,R=302]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC] | htaccess, rewrite, public | 9080 | htaccess rewrite root to public |
| 256 | <IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule> | redirect, public | 190 | htaccess редирект из корня в папку public в корне |