Advice for choosing correct architecture/tech for a hobby project

John Gordon gordon at panix.com
Thu May 22 16:38:13 EDT 2014


In <mailman.10231.1400789042.18130.python-list at python.org> Ian Kelly <ian.g.kelly at gmail.com> writes:

> > My web browser works just fine with links such as this:
> >
> > <a href="file:///C:/Users/gordonj/Documents/foo.html">foo.html</a>

> It works if the document that contains the link is also opened from
> the local filesystem, but browsers will refuse to follow the link if
> it was served over http.

Aha!  I didn't know that.  Now that I think about it, I suppose it makes
sense.

Perhaps the OP could write a separate application for handling local
files, something like:


    <a href="process_local_bookmark.cgi?filename=/dir/foo.html">

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list