Gossamer Forum
Home : General : Perl Programming :

SSI problem

Quote Reply
SSI problem
I'm moving my sites to a new server so that's all I've changed here (besides updating paths, permissions, etc)...

The problem: I use SSIs to make up different sections of the page using "include virtual." That all works fine. However, when I use "exec cgi" for my ads, it doesn't work. I get [an error occured while processing this directive]

I have the ad program set up correctly because I can call the ad with javascript, or by just typing in the url.

I've make sure to turn on 'execute cgi programs' and 'server-side includes and execs.'

What else should I check?




Quote Reply
Re: SSI problem In reply to
...the syntax of the tag......

Do you have.....

<\!--#exec cgi="/cgi-bin/yours.cgi"-->

NOTE: the backslash is there so the tag didnt disappear in the forum.

Paul Wilson.
(Dont blame me if I'm wrong!)
NEW - www.wiredon.net
Quote Reply
Post deleted by AtoZ In reply to
Quote Reply
Re: SSI problem In reply to
I don't know why I didn't think of this sooner, but I looked at the error logs... and it says
In Reply To:
exec used but not allowed in...
So there must be something wrong with the setup. I'm not sure what to do because I've changed and changed back many variables... I'll keep trying. :)

UPDATE: I fixed it. Although I had added the ExecCGI and Includes to the httpd.conf file I didn't specify a directory. That made the difference.