hesabixCore/webUI/public/.htaccess

14 lines
439 B
ApacheConf
Raw Permalink Normal View History

2025-03-21 14:20:43 +03:30
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
2025-03-21 22:35:12 +03:30
RewriteBase /u/
2025-03-21 22:22:08 +03:30
# اگه درخواست مستقیماً index.html باشه، همون رو لود کن
2025-03-21 14:20:43 +03:30
RewriteRule ^index\.html$ - [L]
2025-03-21 22:22:08 +03:30
# اگه فایل یا دایرکتوری فیزیکی وجود نداره، به index.html برو
2025-03-21 14:20:43 +03:30
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2025-03-21 22:35:12 +03:30
RewriteRule ^ /u/index.html [L]
2025-03-21 22:22:08 +03:30
</IfModule>