Hey.
I want to put the admin of the project in a separate folder. She will be on laravel.
If the site has the following structure:
site.ru/admin (folder) / (Here Laravel files) That .htaccess in the admin folder does not work.
If such: site.ru/ (here Laravel files) - works.
Can you suggest .htaccess which will solve the problem for the first case?
Htaccess itself is the most default, for deleting public from url.
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule> That is, the address: site.ru/admin/public/home, I need to reduce to: site.ru/admin/home.