in reply to Odd behavior of file test
You are testing for a file on the filesystem in /music/data/ but a webserver is not a filesystem and is typically configured to serve files from relative locations so when you go to request http://localhost/music/data/ the path is being resolved/normalized to the webroot and ends up /Users/user/Documents/httpd/public/local/music/data/. You need to copy the files into that path or add a symbolic link or adjust your apache config.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Odd behavior of file test
by Trudge (Acolyte) on Oct 04, 2017 at 16:59 UTC |