09-09-2002
the unix answer to SSI?
On websites I build one thing I like to use is SSI to make it easier for the owner of the site to update parts of it him/herself. So the text of a page is keep in a simple .txt file, which the main page calls.
Unix does not support this (I'm told), is there a similar system I can use with UNIX?
Thank you
Garrett
6 More Discussions You Might Find Interesting
1. Solaris
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"...
what does this error mean.....
help me in solving this issue...
Thanks in advance
shivamasam (3 Replies)
Discussion started by: shivamasam
3 Replies
2. UNIX for Dummies Questions & Answers
Try to answer these questions on Unix:
1.what will be the segment() function do?
2.How Unix is more powerful than Windows?
3.Where ownership details will be stored of a particular file in Unix?
4.State different uses of ^ symbol in regular expressions.
5.What does export command used for?... (5 Replies)
Discussion started by: dreambig
5 Replies
3. UNIX for Dummies Questions & Answers
1, why Boot server should be in a network in jumpstart?
2, what is the different between patch and package?
3, how to list the avilable NIC in solaris9?
4, User complaing system is slow (solaris) what are the steps to check?
5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies
4. UNIX for Dummies Questions & Answers
I have multiple web sites and have SSI all working fine! but I want a script that allows me to place a SSI script (or .html) on any web site within my server - One problem, SSI is limited to files located within the file structure - I want to access a file outside, (but still on my server) I found... (1 Reply)
Discussion started by: johnzule
1 Replies
5. High Performance Computing
I'm new to HPC so forgive me if this question is extremely simple.
I have a cluster and each node has multiple NICs. I need the master to be able to see the nodes NICs as if they were it's own. The vision is being able to run ifconfig and see a bunch of ethX entries on the master when in fact... (1 Reply)
Discussion started by: navic
1 Replies
6. UNIX for Beginners Questions & Answers
1) whats the output of the below script, when executed at the command line
vi test.ksh
echo 'output $@:'$@
echo 'output$#:'$#
----------------
cmd execution as follows
$test.ksh Hello"
a)output $@:1,output $#:Hello
b)output $@:Hello,output $#:1
c)output$@:,output $#:
d)None of the... (4 Replies)
Discussion started by: balaji23_d
4 Replies
LEARN ABOUT DEBIAN
cgi::ssi_parser
SSI_Parser(3) User Contributed Perl Documentation SSI_Parser(3)
NAME
CGI::SSI_Parser - Implement SSI for Perl CGI
SYNOPSIS
use CGI::SSI_Parser;
$CGI::SSI_Parser::recursive = 1;
fssi($filename);
sssi($string);
DESCRIPTION
CGI::SSI_Parser is used in CGI scripts for parsing SSI directives in files or string variables, and fully implements the functionality of
apache's mod_include module.
It is an alternative to famous Apache::SSI modules, but it doesn't require mod_perl. This is an advantage to those who are using public
hosting services. There is a disadvantage, however - the module consumes much memory, and I don't recommend using it on heavy-loaded sites
(currently it's being used on a site with 10000 hits, and I consider this as a limit). I hope to get rid of this disadvantage by the time
the release comes out (currently it's beta).
SSI Directives
This module supports the same directives as mod_include. For methods listed below but not documented, please see mod_include's online docu-
mentation at http://httpd.apache.org/docs/mod/mod_include.html .
o config
o echo
This directive is not fully supported in current version.
o exec
o fsize
o flastmod
o include
o printenv
o set
This directive is not supported in current version.
o perl
This directive is not supported in current version.
o if
o elif
o else
o endif
These four directives are not supported in current version.
Outline Usage
First you need to load the CGI::SSI_Parser module:
use CGI::SSI_Parser;
You need to specify the following when processing of all nested directives is needed (default value - 0):
$CGI::SSI_Parser::recursive = 1;
To parse file or string you need to use:
fssi($filename);
sssi($string);
The result is printed to STDOUT.
TO DO
Full implementation of all SSI directives.
Optimize memory consumption.
AUTHOR
Vadim Y. Ponomarenko, vp@istc.kiev.ua
SEE ALSO
mod_include, perl(1).
perl v5.8.0 2001-01-06 SSI_Parser(3)