Magento 2 Error: You Don't Have Permission To Access This Server
Your store is running Magento 2 and suddenly got this error You don’t have permission to access Magento on this server. You may get crazy with Linux folder permission in this case. No worries, there is a simple solution for that.
This error indicates that a default document could not be found at the specified URL and that directory listings are not permitted.
Magento 2 You Don’t Have Permission To Access/On This Server
Forbidden
You don't have permission to access /magento on this server.
Solution
Grant permissions
sudo chown -R $USER:$USER /var/www/magento
sudo chmod -R 755 /var/www
You can replace correct Magento path /var/www/magento
Happy coding!
Related Post
Recent Tutorials
October 28, 2019
Magento 2 get customer address custom attribute value
June 05, 2019
How to Install Magento Extension via Composer
Comments for Magento 2 Error: You Don't Have Permission To Access This Server
People also searched for
- you don't have permission to access
- you don't have permission to access this server
- you don't have permission to access /userrpm/statusrpm.htm on this server.
- you don't have permission to access on this server
- you don't have permission to access the url on this server.
- you don't have access to this server
- you don t have permission to access on this server
- you don't have access on this server
- you don t have permission to access
- you don't permission to access
- you don't have permission to access the url on this server
- you don't have permission to access /
- forbidden you don't have permission to access / on this server
- you don't have permission to access server
- don't have permission to access
- don't have permission to access on this server
- 2.2.x, 2.3.x
Subscribe
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!
Earn $10 in reward now!