This repository has been archived on 2024-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
w0bm/public/.htaccess
2021-06-25 08:25:11 +00:00

20 lines
477 B
ApacheConf

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
php_value post_max_size 155M
php_value upload_max_filesize 150M