When I change DocumentRoot (from httpd.conf) to my chosen directory, XAMPP runs without incident, but I get a "403 Forbidden" error (or other types of errors when I try different things out with it) when I run it from a browser (Safari or Firefox). I've changed permissions accordingly. The directory and files (index.html, etc.) are located in the directory I changed to. But it just won't run.
Can anyone please help? Is there a restriction that we're supposed to use a documentroot inside the xampp folder?
Here's the change I made:
FROM:
- Code: Select all
DocumentRoot "/Applications/xampp/xamppfiles/htdocs"
# ... and ...
<Directory "Applications/xampp/xamppfiiles/htdocs">
TO:
- Code: Select all
DocumentRoot "/Users/mycomputername/Web/MyApplications"
# ... and ...
<Directory "/Users/mycomputername/Web/MyApplications">
Just a note that the default ~/htdocs works fine, but the changed one does not. This is strange because I've done this successfully in Windows and Linux but can't get it to run with a different DocumentRoot in MacOSX (Tiger).
Thank you.