1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Parse CGI output for SSI (SetOutputFilter)

Discussion in 'Plesk for Linux - 8.x and Older' started by moltar, Nov 12, 2005.

  1. moltar

    moltar Guest

    I am having crazy trouble and ripping hair out...

    On my local dev machine, I use a simple statment in httpd.conf and Apache parses all CGI output for SSI.

    <Directory "/home/*/cgi-bin">
    SetOutputFilter INCLUDES 
    I am trying to do this with Apache on Plesk, and it just doesn't work. It doesn't parse it - just outputs the SSI statements as they are.

    I've tried putting it into httpd.conf, vhost.conf, .htaccess... No go!

    Anyone had a similar problem?
  2. moltar

    moltar Guest

    Holy $%^& I am such a dumbass. I've spent 4h trying to figure this out and, of course, as soon as I posted a question I finally figured it out!

    The reason it didn't work is because I didn't have Option Includes enabled on cgi-bin directory!

    So the following code works perfectly!

    Options Indexes FollowSymLinks Includes
    AddOutputFilter INCLUDES .pl