Gossamer Forum
Home : Products : Links 2.0 : Discussions :

SSI tags on cgi generated pages?

Quote Reply
SSI tags on cgi generated pages?
Hello,

I would like to know if it is possible modify some .cgi's to generate shtml pages.
By example. rate.cgi
thank you in advance for your answers.


Quote Reply
Re: SSI tags on cgi generated pages? In reply to
Uh...you can not use SSI in cgi scripts!

You need to call content from subs within scripts.

Search the Links 2.0 Customization Forum for WebAdverts and you will find Threads that provide codes that allow you to provide "dynamic" content from other cgi scripts in cgi scripts.

Got it?

Regards,

Eliot Lee
Quote Reply
Re: SSI tags on cgi generated pages? In reply to
thank you very much Elliot!!
regards

polete

Quote Reply
Re: SSI tags on cgi generated pages? In reply to
You're welcome.

Regards,

Eliot Lee
Quote Reply
Re: SSI tags on cgi generated pages? In reply to
In Reply To:
Uh...you can not use SSI in cgi scripts!
Most Web servers can be set up to parse any text/html file type for SSI tags. This can be done by configuring the server or adding a directive in the .htaccess file.

AddType text/x-server-parsed-html .cgi
AddType text/x-server-parsed-html .pl


Server-side-include HTML Parsing
http://www.intergalact.com/hp/part3/parsing.html

Dan O.
http://Appliance411.com


Quote Reply
Re: SSI tags on cgi generated pages? In reply to
Keyword...Most...Wink

Regards,

Regards,

AnthroRules
Quote Reply
Re: SSI tags on cgi generated pages? In reply to
 
Not to be picky but, certainly a more accurate statement than:

In Reply To:
you can not use SSI in cgi scripts
Every server I have had the use of, enabled this feature. And if they're using Hypermart or most other free CGI enables hosts, that's their default!

Dan O.