emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Nicolas Girard <nicolas.girard@nerim.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Link to a local html file
Date: Mon, 29 Jun 2009 16:18:11 +0200	[thread overview]
Message-ID: <87fxdjw2cc.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <51b0095d0906290643p79145abalff08f38218ac9aca@mail.gmail.com> (Nicolas Girard's message of "Mon, 29 Jun 2009 15:43:25 +0200")

Nicolas Girard <nicolas.girard@nerim.net> writes:
> Hi,
> how to create a link to a local html file, say, /path/to/file.html, so
> that clicking on it opens the page in a browser ?

If you serve that file through a webserver (here apache2), you could do
something like this:


I serve several directories in my home directory to either localhost
only, or to the intranet here. You simply can add entries to your
/etc/apache2/httpd.conf (on GNU/Linux) like this:

    Alias /devel "/home/sebastian/develop/htdocs"
    <Directory "/home/sebastian/develop/htdocs">
        Options Indexes MultiViews
        Order allow,deny
        Allow from
        Allow from

...and adjust the network as needed.


  reply	other threads:[~2009-06-29 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 13:43 Nicolas Girard
2009-06-29 14:18 ` Sebastian Rose [this message]
2009-06-29 14:20 ` Manish
2009-06-29 14:20 ` Bastien
2009-06-29 15:26   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxdjw2cc.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicolas.girard@nerim.net \
    --subject='Re: Link to a local html file' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).