• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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