I have some css .map files directly under assets folder, however for some reason they failed to load and i get a 404 error in the dispatcher and router. Any solution on how to fix this issue ? i added following config to the router but still get the error.
$router->add(
'/assets/css/dashboard-free.css.map'
);
Error log says
example.com/assets/css/dashboard-free.css.map:
2019-02-13 07:02:58:
Phalcon\Mvc\Dispatcher\Exception: IndexController handler class cannot be loaded
File=/var/.../Module.php
Line=27
#0 [internal function]: Phalcon\Mvc\Dispatcher->_throwDispatchException('IndexController...', 2)
#1 [internal function]: Phalcon\Dispatcher->dispatch()
#2 /var/.../Module.php(27): Phalcon\Mvc\Application->handle()
#3 /var/.../web/index.php(12): Admin\Module->main()
#4 {main}
Apache
Try this in your
.htaccessfilenginx