ubn5/.htaccess

19 lines
353 B
ApacheConf
Raw Normal View History

2025-02-10 05:21:56 +00:00
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule (^backend) backend/web/$1 [L]
RewriteBase
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ frontend/web/$1 [L]
Options +FollowSymlinks
</IfModule>