1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    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