If I put my HTML file in the root of my workspace directory, it can be accessed when clicking ‘Run’. But if the file is in a subdirectory I created within the workspace, clicking ‘Run’ generates a 404 ‘Not Found’ error from Apache.
If I truncate the filename so its just the Apache URL with the subdirectory, then Apache displays ‘Access Forbidden’. If I right click the file in the subdirectory from the IDE and select Preview, then its viewable but its not shown as the full URL but as ‘/subdirectory/file.html’
The subdirectory has the permissions: drwxr-xr-x
The files in the subdirectory has the permissions: -rw-r–r--
How do I get Apache to allow a subdirectory and its files?