Virtual Host Access forbidden! on Mac Os Catalina

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Virtual Host Access forbidden! on Mac Os Catalina

Postby mahendura » 09. October 2019 09:17

I got Access forbidden! after updating Mac Os from Mojave to Catalina when using a Virtual host. This issue happens only for the project out of htdocs folder. When I use Mac Os Mojave the virtual host is working properly project in htdocs folder or project in out of htdocs folder.

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403
site.local
Apache/2.4.37 (Unix) OpenSSL/1.0.2q PHP/7.2.13 mod_perl/2.0.8-dev Perl/v5.16.3



I use XAMPP 7.2.13
My Vhosts config :

Code: Select all
<VirtualHost *:80>
    ServerName site.local
    ServerAlias sites.local
    DocumentRoot "/Users/username/Documents/site"
    <Directory "/Users/username/Documents/site">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog "logs/site.local-error_log"
</VirtualHost>



please help me how to fix this issue. Thank you
mahendura
 
Posts: 2
Joined: 22. October 2018 13:17
XAMPP version: XAMPP-VM / PHP 7.2.11
Operating System: macOs Mojave

Re: Virtual Host Access forbidden! on Mac Os Catalina

Postby wykydtronik » 16. October 2019 20:56

I'm having the same issue... Every year there is a new MacOS and it really screws up the permissions. I attempted to do what I did last year (set the permissions of the directory) but no dice!
wykydtronik
 
Posts: 1
Joined: 16. October 2019 20:49
XAMPP version: newone
Operating System: MacOS Catalina

Re: Virtual Host Access forbidden! on Mac Os Catalina

Postby itsanmax » 01. May 2020 12:10

Anyone got any fix for this 403 forbidden issue on Mac OS Catalina ? It's working fine on Mac OS Mojave but here doesn't.
itsanmax
 
Posts: 1
Joined: 01. May 2020 12:07
XAMPP version: 2.4
Operating System: Mac OS

Re: Virtual Host Access forbidden! on Mac Os Catalina

Postby jrpatel1016 » 11. July 2020 18:39

I am also facing same issue as above.
jrpatel1016
 
Posts: 1
Joined: 11. July 2020 18:37
XAMPP version: 7.4.7
Operating System: MAC OS X

Re: Virtual Host Access forbidden! on Mac Os Catalina

Postby PullingStrings » 14. October 2020 15:03

I also have the same problem.
PullingStrings
 
Posts: 1
Joined: 14. October 2020 15:01
XAMPP version: 7.2.33
Operating System: Mac OS Catalina


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 24 guests