Hi, I want to add an SSI call from the page generated by a database search. This itself is straightforward but the problem is that it's not being executed. I guess it's something to do with the fact the the page is being generated via Perl. Can anyone suggest a workaround or help in any way ??
Aug 17, 2001, 9:37 AM
Veteran (1141 posts)
Aug 17, 2001, 9:37 AM
Post #2 of 4
Views: 1515
Try it in a "static" page - if works there, but not your generated page you'll know that's the problem. I've seen a bunch of stuff regarding this issue. Search the forums (pay attention to the parameters) for SSI & Perl. I can think of some work-arounds if it is absolutely necessary that *have* to have the SSI, but they won't be pretty. (Example: On "search success" write search results to an shtml file & include SSI tag and then redirect browser to that page.)
However, I'm sure you'll find a more glamorous solution than that.
PS: bone up on SSI, you'll need to use "include" "virtual" "exec" depending on your path and what it is your plugging in.
However, I'm sure you'll find a more glamorous solution than that.
PS: bone up on SSI, you'll need to use "include" "virtual" "exec" depending on your path and what it is your plugging in.
Aug 17, 2001, 9:38 AM
Veteran (17240 posts)
Aug 17, 2001, 9:38 AM
Post #3 of 4
Views: 1513
Typical SSI directives (include/exec cgi) do not work in CGI scripts.
Regards,
Eliot Lee
http://anthrotech.com/
Regards,
Eliot Lee
http://anthrotech.com/
Aug 18, 2001, 1:20 PM
Veteran / Moderator (3034 posts)
Aug 18, 2001, 1:20 PM
Post #4 of 4
Views: 1491
Check out the FAQ under the section "Files / Records" there are two threads with easy solutions called:
SSI Include Replacement
SSI from within cgi
There are also various other threads related to using SSI.
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
SSI Include Replacement
SSI from within cgi
There are also various other threads related to using SSI.
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/