- Created .htaccess for URL rewriting to route all requests to index.php - Added index.php to bootstrap the KrothiumAPI with environment variables and configuration settings - Configured application mode, paths, router settings, session management, error logging, and logging driver
10 lines
264 B
ApacheConf
10 lines
264 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
|
|
# Se for arquivo ou pasta real, deixa passar
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
# Tudo vai pro front controller
|
|
RewriteRule ^ index.php [L,QSA]
|
|
</IfModule> |