- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023
10:46 PM
09-26-2023
10:46 PM
404 error after installing magento in ubuntu2.x
i have installed , and after install Magento2 when i open in browser it shows
i cant able to fix it :
note : i have give all permission to the files
Whoops, our bad... The page you requested was not found, and we have a fine guess why. If you typed the URL directly, please make sure the spelling is correct. If you clicked on a link to get here, the link is outdated. What can you do? Have no fear, help is near! There are many ways you can get back on track with Magento Store. Go back to the previous page. Use the search bar at the top of the page to search for your products. Follow these links to get you back on track! Store Home | My Account
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023
04:15 AM
09-27-2023
04:15 AM
Re: 404 error after installing magento in ubuntu2.x
Well that's the 404 page. Whichever URL you're trying to load is throwing 404. From the info you provided nobody can tell you why. More context is needed.
Founder at https://agency418.com
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023
04:22 AM
09-27-2023
04:22 AM
Re: 404 error after installing magento in ubuntu2.x
It seem your url rewrite is not working. To enable rewrite follow these steps :
Enable Rewrite mode : sudo a2enmod rewrite
To Configure apache for Ubuntu / Debian edit the file /etc/apache2/apache2.conf. To edit this file, you can run command
sudo vi /etc/apache2/apache2.conf
Modify from:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
to
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Then restart apache :
sudo service apache2 restart
or
sudo /etc/init.d/apache2 restart