After install very fresh Magento 2, I am seeing **Whoops, our bad...** (404 Not Found) in all pages. Screenshot: [![enter image description here][1]][1] I am using Linux Mint OS. Here is my steps: 1. Installed Apache version is `apache2 -v`: ``` Server version: Apache/2.4.41 (Ubuntu) Server built: 2020-08-12T19:46:17 ``` 2. Checked PHP Version: `PHP 7.4.18 (cli) (built: May 3 2021 11:27:06) ( NTS )` 3. Did execute: `sudo apt-get install curl wget gnupg` 4. Checked MySQL Version: `mysql Ver 8.0.25-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))` 5. Checked composer version: `Composer version 2.0.7 2020-11-13 17:31:06` 6. Did execute the following commands: ``` sudo apt-get install php7.4-intl sudo apt-get install php7.4-soap sudo apt install php7.4-bcmath sudo apt install php7.4-xsl sudo apt install php7.4-ctype sudo apt install php7.4-dom sudo apt install php7.4-gd sudo apt install php7.4-iconv sudo apt install php7.4-mbstring sudo apt install php7.4-simplexml sudo apt install php7.4-zip sudo apt install php7.4-libxml sudo service apache2 restart ``` 7. Installed and Start elasticsearch 8. Download Magento 2 using composer, Did execute the following commands: ``` cd www/ composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento-practice cd magento-practice/ sudo chmod -R 777 ./ ``` Created Database and installed the Magento 2: ``` php bin/magento setup:install --base-url=http://localhost/magento-practice --db-host=localhost --db-name=magento_practice \ --db-user=dbadmin --db-password=Qwerty \ --admin-firstname=admin --admin-lastname=admin [email protected] --admin-user=admin --admin-password=786Admin \ --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 \ --backend-frontname=adminn ``` Then also esecute the following commands: ``` sudo php -dmemory_limit=-1 bin/magento setup:upgrade sudo php -dmemory_limit=-1 bin/magento setup:static-content:deploy -f sudo php -dmemory_limit=-1 bin/magento indexer:reindex sudo php -dmemory_limit=-1 bin/magento cache:clean sudo php -dmemory_limit=-1 bin/magento cache:flush sudo chmod -R 777 ./ ``` **Now edited the `.htaccess` From:** ``` RewriteEngine on RewriteCond %{REQUEST_URI} !^/pub/ RewriteCond %{REQUEST_URI} !^/setup/ RewriteCond %{REQUEST_URI} !^/update/ RewriteCond %{REQUEST_URI} !^/dev/ RewriteRule .* /pub/$0 [L] DirectoryIndex index.php ``` Into: ``` RewriteEngine on RewriteCond %{REQUEST_URI} !^/magento-practice/pub/ RewriteCond %{REQUEST_URI} !^/magento-practice/setup/ RewriteCond %{REQUEST_URI} !^/magento-practice/update/ RewriteCond %{REQUEST_URI} !^/magento-practice/dev/ RewriteRule .* /magento-practice/pub/$0 [L] DirectoryIndex index.php ``` What I am doing wrong? [1]: https://i.sstatic.net/lLPVp.png