I have edited my httpd-vhosts. I have also change Deny to Allow in the httpd-xampp. Not sure what else to check or try. Please help lol. Denoteone Denoteone 1 Is there some default document index. Does the apache config point to whatever your default document name is? I actually just figured it out I am going to post my answer below but it was adding Require all granted to the directory listing in the httpd-vhost.
It is usually good practice to create a dedicated user and group for running httpd, as with most system services. User yourusername. Mudaser Ali Mudaser Ali 4. So yes, the link abow fixed the problem.http://creatoranswers.com/modules/springs/120.php
Apache Friends Support Forum
Eventually, I just checked the "shared folder" checkbox in the Finder for that folder, and it worked , on the specified domain, with php active, the way I wanted it to. I generally fix this by setting the Apache user to myself in local environments and in machines where the only user who uses Apache is me. Own them:. After this, Apache and PHP et al.
But since this is just a local development environment, that shouldn't be a problem unless you have no rules to block Apache in your firewall and let questionable files like file explorers, shells, scripts that may contain vulnerabilities run under Apache; in which case anyone including your public wifi neighbor in a cafe can enter http: In fact, you should prevent this regardless of the scripts you run or even if you don't set Apache user to yourself since you probably don't want random outsiders to be able to see the contents of your localhost.
I just solved my issue by setting permissions not only to the DocumentRoot directory, but also to all its parent directories. This is how I did it. Error 13 indicates a filesystem permissions problem. That is, Apache was denied access to a file or directory due to incorrect permissions. It does not, in general, imply a problem in the Apache configuration files. In order to serve files, Apache must have the proper permission granted by the operating system to access those files. In particular, the User or Group specified in httpd.
Typical permissions on a unix-like system for resources not owned by the User or Group specified in httpd.
macos - XAMPP (Mac) Virtual host showing - Super User
You may also need to check extended permissions such as SELinux permissions on operating systems that support them. On some systems, the utility namei can be used to help find permissions problems by listing the permissions along each component of the path:. It can be obtained from here.
If all the standard permissions are correct and you still get a Permission Denied error, you should check for extended-permissions.
For example you can use the command setenforce 0 to turn off SELinux and check to see if the problem goes away. If so, ls -alZ can be used to view SELinux permission and chcon to fix them.
I have reset the server every time I made a change, it doesn't seem to be generating an error log, and I have no clue what's going on. If there is anyone who can give me a trail to follow, or a clue how to proceed in solving this, I would be immensely grateful. This problem has been dogging me for two days straight.
Please note, I am not a server admin by training, just an engineer that fell into the job.
Coolest Guides On The Planet
I don't need simple explanations, but I do need a little more explicitness than usual. For reference, the system I am required to work in is OSX Let me know if there is any more data I am missing for the solution. This question appears to be off-topic. The users who voted to close gave this specific reason: Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center.
No other Access rules are specified anywhere that may override this one possible locations are any server congi file, including but not limited to vhost definitions, as well as.
- Apache Friends Support Forum • Search;
- diners drive ins and dives sweetie pies mac and cheese recipe?
- Access Forbidden! – XAMPP on macOS Sierra;
In case you're requesting a direcotry and not a file:
Related xampp error 403 mac os x
Copyright 2019 - All Right Reserved