freescout/freescout-dist/.htaccess

10 lines
461 B
ApacheConf
Raw Normal View History

2023-12-22 19:40:32 +00:00
# On some hostings it is impossible to change web root directory
# so we rewrite all web requests into /public folder
<IfModule mod_rewrite.c>
RewriteEngine on
# On some hostings it does not work as "public/$1", but works as "/public/$1".
# But we can't write it as "/public/$1" because in this case it does not work
# when application is installed in subdirectory.
RewriteCond %{REQUEST_URI} !/\.well\-known/?.*
RewriteRule (.*) public/$1 [L]
</IfModule>