• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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