I have installed the XAMPP in my MAC.
And i just tryed to open a folder and it's returned a error 403: Access forbidden!
I read on foruns that i need to change the httpd archive, but, after the changes, no change, the error Access forbidden! on my folder/sites continues.
The http.conf that i have changed are here: "Applications/XAMPP/xamppfiles/apache2/conf"
Alias /bitnami/ "/Applications/XAMPP/xamppfiles/apache2/htdocs/"
Alias /bitnami "/Applications/XAMPP/xamppfiles/apache2/htdocs"
<Directory />
Options All
AllowOverride All
Order deny,allow
Allow from all
</Directory>
Thanks!
Although XAMPP error 403 can be annoying, it's easy to solve whether you're using Windows, macOS, or Linux. All you have to do is edit the XAMPP httpd-xampp. conf file to ensure that everyone has access to phpMyAdmin. Then the 403 error should disappear right away.
This link is really helpful.
All you need is rights. I didn't enable virtual hosts.
I just replaced User daemon
on User yourUserName
in /Applications/XAMMP/xammpfiles/etc/httpd.conf
, so I got access to my custom folders (through symlinks in htdocs folder in my case).
Please type this in terminal and press enter
sudo chmod 777 /Applications/XAMPP/xamppfiles/htdocs/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With