Полезная информация

Webmaster in a Nutshell

Previous Chapter 13
Server Side Includes
Next
 

13.2 Faking SSI for the CERN Server

For servers that don't offer SSI support, use the fakessi.pl Perl program to emulate SSI behavior. (The program is at http://sw.cse.bris.ac.uk/WebTools/fakessi.html.)

To use fakessi.pl with the CERN server, specify that the server executes the program whenever a client requests a file ending in .shtml:

  1. Install fakessi.pl into the cgi-bin directory.

  2. Add the following directive to httpd.conf:

    Exec /*.shtml /usr/local/etc/httpd/cgi-bin/fakessi.pl
    

    (assuming that usr/local/etc/httpd/cgi-bin is the proper directory).


Previous Home Next
Configuring the Apache and NCSA Servers for SSI Book Index Basic SSI Directives

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell