|
SSI Great on site SSI: http://www.useforesite.com/tut_ssi.shtml
SSI and what is it for? Note: SSI calls only work on pages with an .shtml extension.
Using SSI The simplest example of server-parsed HTML is to have a file "file.shtml" containing this text: <!--#exec cgi="/cgi-bin/test.cgi"-->
#!/usr/bin/perl Wherever you place the: <!--#exec cgi="/cgi-bin/text.cgi"--> that is where the information will appear on your page. If your include directive is <!--#exec cgi="/cgi-bin/test.cgi"--> then the cgi program you run must output a standard CGI header
(Content-type: text/html). Any file named file.shtml will be parsed automatically by Apache on our
servers. <! #exec" the line will be ignored. Server-side includes in "custom trailers" will not work, since custom trailers are appended to the output of your web pages after all other processing has been done on them. Any server-side includes that you put into your custom trailers will be sent directly to the browser without being parsed. |
| Home :: Hosting Plans :: Clients Knowledge Base :: Contact Us |