1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-24 11:22:42 +01:00
freescout/.htaccess
2022-06-06 22:25:50 -07:00

10 lines
461 B
ApacheConf

# 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>