tr_staticssi man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

TR_STATICSSI(1)	      User Contributed Perl Documentation      TR_STATICSSI(1)

NAME
       tr_staticssi -- expand SSI directives #include virtual and #exec cmd

SYNOPSIS
	   tr_staticssi[-h] [-d doc-root-directory] file.shtml

DESCRIPTION
       tr_staticssi reads a file below doc-root-directory and expands SSI
       directives (#include virtual and #exec cmd). Nested directives up to
       level 3 are supported.  The expanded document is printed to stdout.

       This program sets the environment variables DOCUMENT_URI, REQUEST_URI,
       DOCUMENT_NAME. DOCUMENT_URI and REQUEST_URI are set to the filename
       provided on the command line. If you have also #exec cmd statements in
       the code that depend on these variables the you must use the doc-root-
       directory as current working directory.

       The SSI must look like this:

       <!--#include virtual="filename" -->

       <!--#exec cmd="command" -->

       The program is useful if you want to generate static html pages from
       dynamic html.

OPTIONS
       -h short	 help

       -d the path to webserver document root directory

EXAMPLE
       cd /home/httpd/html

       tr_staticssi -d /home/httpd/html somedir/index.shtml >
       somedir/expand.html

       This will expand include and exec directives in index.shtml.

AUTHOR
       tr_staticssi is part of the HTML::TagReader package and was written by
       Guido Socher [guido(at)linuxfocus.org]

perl v5.8.8			  2007-10-29		       TR_STATICSSI(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net