logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problems with SSI
Author
Doveman



Joined: 06 Dec 2010
Posts: 2

PostPosted: Mon 06 Dec '10 20:41    Post subject: Problems with SSI Reply with quote

I use ssi include to execute miva compile scripts within my html. A typical line looks like this: <!--#include virtual="mn/v11_idxpages.mvc?index" -->
This worked well under previous versions of apache but on apache2 ver 2.2 I get the error message:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

I know that includes are working because if I remove that line all the other includes directives execute correctly using both .shtml or XbitHack of html.
Also perl scripts execute just fine within the virtual statement.

The miva scripts run correctly when executed through a browser.

My http.conf entries look like this:

AddType text/html .htm
AddOutputFilter INCLUDES .htm
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/x-miva-compiled .mvc
Action application/x-miva-compiled /cgi-bin/mivavm
Options ExecCGI Includes
XBitHack on

Any ideas where to look?

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 24 Jan '11 17:46    Post subject: Reply with quote

Which apache version did you use before? Do you load a module that executes the scripts?
Back to top
Doveman



Joined: 06 Dec 2010
Posts: 2

PostPosted: Mon 24 Jan '11 18:41    Post subject: Reply with quote

Thanks for the reply.
The previous version of Apache was 1.3.33. The module that is loaded at execution time is mivavm *Miva Virtual Machine" version 5.04. Miva is a compiled xml based script which has to have the mivavm executable present to run. It runs fine in normal mode but not as an ssi. In the http.conf under my virtual host I added the lines:
AddType application/x-miva-compiled .mvc
Action application/x-miva-compiled /cgi-bin/mivavm

Thanks again for your help.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 24 Jan '11 23:18    Post subject: Reply with quote

I think the module needs to recompiled against apache 2.2, cause 1.3 modules will never load into apache 2. It that open source?
Back to top


Reply to topic   Topic: Problems with SSI View previous topic :: View next topic
Post new topic   Forum Index -> Apache