I want to use a custom folder for my apache web server in XAMPP and set it in the httpd.conf-file
DocumentRoot "/path/to/directory"
<Directory "/path/to/directory">
I also ensured that the user permission was set for XAMPP to access my custom folder
# OLD ENTRY: User daemon
User Ljonja
But I still get the error 403 on localhost (access forbidden). How do I solve this? I even reinstalled it and did many times of restarting the webserver, or clearing browser cache or trying other browsers ...
Technical Infos:
- Device: MacBook Air M1
- System: macOS Monterney 12.2.1 (21D62)
- XAMPP-version: XAMPP 8.1.2-0