• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Parse CGI output for SSI (SetOutputFilter)

M

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.

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?
 
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
 
Back
Top