Any idea how to browse file:///C:/Results/index.html from localhost using a href?
i created the test html file (C:/ser/xampp/htdocs/filter/file.html) and place the link to local page (C:/Results/index.html) and i tired to open that link from (http://localhost/filter/file.html) it didn't work. But when i tired to open link from (file:///C:/ser/xampp/htdocs/filter/file.html) it worked.
I hope this make sense.
I googled it but didn't find any useful solution. Any idea how to solve this?
localhostto your folder ? i.e. what is theDocumentRootof the Apache ?C:\Windows\System32\drivers\etc\hosts.Just paste code:127.0.0.1 localhost 127.0.0.1 localhost.Then restart xampp.