emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Link to a local html file


From: Sebastian Rose
Subject: Re: [Orgmode] Link to a local html file
Date: Mon, 29 Jun 2009 16:18:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Nicolas Girard <address@hidden> 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:

   [[http://localhost/~user/path/to/file.html][file.html]]


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 192.168.178.0/255.255.255.0
        Allow from 127.0.0.1
    </Directory>


...and adjust the network as needed.



     Sebastian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]