Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Browse current Terminal directory in a web browser' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Browse current Terminal directory in a web browser
Authored by: palahala on Apr 24, '09 11:21:47AM

Just opening a HTML file from the filesystem in a browser will not serve index.html by default. For example, the following would not work then:

<a href="subfolder">click me</a>
<a href="..">up</a>
Without a HTTP server, this needs to read:
<a href="subfolder/index.html">click me</a>
<a href="../index.html">up</a>

There may be more examples like this, such as <base href=..>.

[ Reply to This | # ]