polisplexity.tech/.htaccess
Ekaropolus aef6c0d440
All checks were successful
continuous-integration/drone/push Build is passing
modify entry access
2025-07-19 19:48:39 -06:00

25 lines
522 B
ApacheConf

<IfModule mod_rewrite.c>
Options -MultiViews -Indexes
RewriteEngine On
RewriteRule ^home/(.+\.(?:css|js|png|jpe?g|gif|svg|ico|woff2?|ttf|eot|otf|webp))$ public/home/$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
RewriteRule ^ index.php [L]
</IfModule>
<FilesMatch "\.php$">
# ensure LSAPI for PHP
SetHandler application/x-lsphp81
</FilesMatch>