I added with (3 lines)
- Code: Select all
<Directory "D:/"> Require all granted </Directory>
I still get: Forbidden You don't have permission to access this resource. Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 Server at localhost Port 443
The log says: [pid 14004:tid 1976] (20023)The given path was above the root path: [client 127.0.0.1:62749] AH00127: Cannot map GET /D:/mysite/index.html HTTP/1.1 to file, referer: https://localhost/mysite/index.html
Code used:
- Code: Select all
<!-- This link works: -->
<a href="./HTML/test.html" target="_blank" rel="noopener">Old on drive C:</a>
<!-- This link fails and gives the error shown: -->
<a href="../../../../D:/mysite/index.html" target="_blank"
rel="noopener">New on drive D:</a>
Thank you for taking the time to read, and suggest a solution.