View previous topic :: View next topic |
Author |
Message |
buddybuddha -
Joined: 03 Aug 2004 Posts: 7 Location: nowhere, pa
|
Posted: Tue Aug 03, 2004 6:30 am Post subject: Including SSI #exec command in cgi docs |
|
|
Ok, firstoff, I use YaBB, which, if you dont know, is a perl-run forum script. I want to mention that it uses an html template.
When I edit the template to include the SSI command:
Code: |
<!-- #exec cgi="banner.pl" -->
|
The same exact SSI command works on all my .html files. But it doesn't work in any of my .pl files, including the lyrics db, and the album.
All of these things are vital to my site, and the cgi file banner.pl is designed to be a banner rotation.
Note to take note of --
I tried to change the associated extensions to include pl files, but that didnt work.
Any ideas on how to fix it? _________________
It's fookin sweet! |
|
Back to top |
|
|
buddybuddha -
Joined: 03 Aug 2004 Posts: 7 Location: nowhere, pa
|
Posted: Tue Aug 03, 2004 6:46 am Post subject: website to check |
|
|
btw, if you want to check the website click here for the main page in question:
http://www.buddybuddha.net/perlbb/yabb/yabb.pl
You can view source, and the ssi command shows up in the source.
Because of that, I think the problem is isolated to it not being processed by Abyss SSI. _________________
It's fookin sweet! |
|
Back to top |
|
|
Stone-D -
Joined: 09 Jan 2004 Posts: 90
|
Posted: Tue Aug 03, 2004 9:04 am Post subject: |
|
|
SSI can only work with static documents. Like index.html, for example. YaBB and other forums or content management systems are dynamic.
To simplify, SSI works like :
index.html -> opened by abyss
index.html -> parsed by abyss for SSI statements
index.html -> sent to client
With dynamic content, its like :
index.pl?bannerpage -> queried by abyss -> result sent to client
What you need to do is edit the YaBB template-handling code to include your banner script. _________________ --
Look, no SIG! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|