Server Side Include problem

Sharky Forums


Results 1 to 2 of 2

Thread: Server Side Include problem

  1. #1
    Expensive Sushi
    Join Date
    Mar 2001
    Location
    Dallas, TX, USA
    Posts
    23

    Red face Server Side Include problem

    I can't seem to get server side includes to work as I need them to. I am performing a <!--#exec cgi="script.cgi"-->. Before the exec command I placed the following SSI directive:
    <!--#config cmdecho="ON"-->.

    When I call the shtml page, the script runs successfully (no errors in the Apache log). However, the output of the script does not get printed to my html page. When I view the html source I see only the <!--#config..--> directive, but none of the script output was piped to my page.

    How can I remedy this problem?

    Thanks in advance,
    Matt

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Show us a copy of the CGI script you're calling. It's most likely the case that the script is executing fine, but simply not returning usable HTML.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •