Hi,
does anybody know how to run SSI on Apache. I seem to be
unable to make it parse .shtml files.
This bit saved as something.shtml in /home/pavel/public_html
just won't work. When displayed in Netscape, it shows
nothing except "Output of program.cgi is:". Looking at the
source in the browser I see the following html code, from
which it is obvious that it is simply sent to a browser
without being processed at all. Perl scripts in the same
directory run fine.
Thanks in advance for any hints
Pavel Musil
[EMAIL PROTECTED]

<html><body>
Output of program.cgi is:<br>
<!-#exec cgi="program.cgi"->
</body></html>

An excerpt from my httpd.conf:

# To use server-parsed HTML files
AddType text/html .shtml
AddHandler server-parsed .shtml

<Directory /home/pavel/public_html>
        Options ExecCgi Includes Indexes FollowSymlinks
        AllowOverride AuthConfig FileInfo Indexes Limit Options
  order allow,deny
  allow from all
</Directory>


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to