Files
Malawi-Stock-Exchange-API/example.htaccess
Kwesi Banson Jnr 592a161ee6 Initial commit
2026-04-08 05:53:02 +00:00

14 lines
353 B
Plaintext

RewriteEngine On
#RewriteBase /mse_api/
# 1. Prevent directory browsing
Options -Indexes
# 2. If the request is NOT a real directory...
RewriteCond %{REQUEST_FILENAME} !-d
# 3. ...and is NOT a real file...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# 4. ...send the request to index.php
RewriteRule ^ public/index.php [L]