Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl executing SSI/ include virtual

by ggg (Scribe)
on Aug 02, 2004 at 00:03 UTC ( [id://379151]=note: print w/replies, xml ) Need Help??


in reply to Perl executing SSI/ include virtual

This solution may be going in the wrong direction for you, but perhaps you can adapt something here.

I think I remember that the server will parse anything ending with ".shtml". If you rename your hello.cgi to hello.shtml, it will be handled by the server also. In this way you can nest SSI include commands. I don't think I ever tried this with more that one level of nesting, but it may go deeper.

ggg

Replies are listed 'Best First'.
Re^2: Perl executing SSI/ include virtual
by Avitar (Acolyte) on Aug 18, 2004 at 18:41 UTC
    But there is more to it than nested shtml files... For instance if i want to add a web based mailer/contact form. There would be a page that would be layed out like the following pseudo-Code: Contact.cgi contains ( Header.template contains ( header text, news.cgi output, menu.cgi output) print contact form here Footer.template contains ( footer text, footer_menu.cgi contact_info.cgi ) )

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found