Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    89

    Parse CGI output for SSI (SetOutputFilter) on Plesk

    I am running

    - Plesk 7.5.4
    - Apache/2.0.51

    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.

    Code:
    <Directory "/home/*/cgi-bin">
    SetOutputFilter INCLUDES 
    </Directory>
    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. #2
    Join Date
    Mar 2004
    Posts
    89
    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!

    Code:
    Options Indexes FollowSymLinks Includes
    AddOutputFilter INCLUDES .pl

Posting Permissions

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