useful-api.org/html/.htaccess
2023-11-24 14:46:36 +01:00

13 lines
No EOL
308 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_URI} !^/static/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
php_flag log_errors on
php_value error_log /usr/home/usefula/php.log