Virtual Host directory

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

Virtual Host directory

Postby manngo » 02. August 2022 21:43

I have had a lot of trouble setting up my virtual host outside the /Applications/XAMPP/xamppfiles/htdocs directory.

Here is part of the httpd-vhosts file:

Code: Select all
#   XAMPP   australia: australia.example.com
   <VirtualHost *:80>
      ServerName australia.example.com
      ServerAlias australia.example.com
      DocumentRoot "/Volumes/MacintoshData/sites/australia
      ErrorLog logs/australia.log
      CustomLog logs/australia.log combined
      <Directory "/Volumes/MacintoshData/sites/australia">
         Options FollowSymLinks Indexes
         AllowOverride All
         Require all granted
      </Directory>
   </VirtualHost>


When I try, I get the dreaded 403 Access Forbidden! error, with the message to contact the webmaster. That’s me, and I don’t know.

If I set it up for a directory in iCloud, it works. If I set it up in my Documents folder, it doesn’t.

I suspect it has something to do with the User & Group, which I have set to me and various group such as admin, staff and my default group. Nothing helped.

Help!
manngo
 
Posts: 3
Joined: 15. March 2017 05:20
XAMPP version: 7.1.1
Operating System: MacOS 10.12

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 7 guests