Files
PersonalAccounter/.htaccess
2025-07-12 03:13:37 +03:00

15 lines
447 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Send requests to the public directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L,QSA]
# Handle requests inside the public directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^public/(.*)$ public/index.php [L,QSA]
</IfModule>