NVU the WYSIWYG HTML for linux

Fraser Campbell fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org
Thu Oct 30 21:11:22 UTC 2003


On Thursday 30 October 2003 14:57, Teodor Iliescu wrote:

> print `uptime`;

If the only dynamic component of the page is uptime then perl seems like 
overkill.  You can still use SSI like this:

index.shtml:

    <html>
    Server uptime:<br>
    <!--#exec cgi="/cgi-bin/uptime" -->
    </html>

/cgi-bin/uptime:

    #!/bin/sh
    echo Content-type: text/html
    echo
    /usr/bin/uptime

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list