I am using aapanel. How can I set nginx url rewrite for multiple htaccess ?
In cpanel, In my script one htaccess is in public_html and another htaccess is in public_html/public/
This htaccess is in public_html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .*$ public/$1 [L]
</IfModule>
and in public_html/public/
Options -Indexes
<Files *.css>
order allow,deny
allow from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
In cpanel, In my script one htaccess is in public_html and another htaccess is in public_html/public/
This htaccess is in public_html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .*$ public/$1 [L]
</IfModule>
and in public_html/public/
Options -Indexes
<Files *.css>
order allow,deny
allow from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]