Answer the question
In order to leave comments, you need to log in
How to properly set up .htaccess?
The architecture of my application.
-- site
----- game
-------- app
-------- public
Can't set up a redirect. Perhaps the head does not cook already, I spent two hours, help !!!
.htaccess for game
AddDefaultCharset utf-8
RewriteEngine On
RewriteRule $ public/$1
.htaccess for public
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-
RewriteRule ^(.+)$ /index.php/ $1 [QSA]
Works well, styles disappear, what could be the catch? I have already tried many options, nothing helps.
Answer the question
In order to leave comments, you need to log in
And just something the cache had to be cleared ((((((((((((((((((((((
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question