# Installation error: (HttpNotFoundException)

**URL:** <https://discourse.slimframework.com/t/installation-error-httpnotfoundexception/3539>\
**Category:** Questions\
**Created:** [October 14, 2019, 7:15pm UTC](https://discourse.slimframework.com/t/installation-error-httpnotfoundexception/3539 "2019-10-14T19:15:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![neuromancer](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/neuromancer/32/1260_2.png) [@neuromancer](https://discourse.slimframework.com/u/neuromancer)\
**Post date:** [November 26, 2020, 8:18am UTC](https://discourse.slimframework.com/t/installation-error-httpnotfoundexception/3539/6 "2020-11-26T08:18:41Z")

</div>

the truth is here

> [@Slim 4 - HttpNotFoundException](https://discourse.slimframework.com/t/slim-4-httpnotfoundexception/3273/22):
>
> Here is how I made it sing: root folder in apache24/htdocs/ accessible as localhost/ slim in localhost/vendor project in localhost/ .htaccess in root folder (localhost/) RewriteEngine On RewriteCond %{REQUEST\_FILENAME} !-f RewriteCond %{REQUEST\_FILENAME} !-d RewriteRule ^ index.php [QSA,L] index.php in root folder \<?php use Slim\Factory\AppFactory; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Message\ResponseInterface as Response; require \_\_DIR\_\_ . '/…

---

_[View the full topic](https://discourse.slimframework.com/t/installation-error-httpnotfoundexception/3539)._
