Files
bestpc/public_html/.htaccess
2025-05-27 14:28:47 +07:00

8 lines
279 B
ApacheConf

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
# prevent rewrite non-existent files
RewriteCond %{REQUEST_URI} !\.(jpg|png|gif|css|js|php|tiff|webp|jpeg|ico)$
RewriteRule ^(.*)$ /index.php [QSA,L]