Forum: The Classroom
Topic: ASP/PERL/SSI HELP!!!!!!!
started by: jim

Posted by jim on Sep. 21 2000,12:04
Ok, I'm getting cranky and I need some help. When I first started doing my web page I was using ASP so I could connect to databases and do stuff that way. Then I got turned on to all this nice FREE Open Source PERL stuff.

Most of the PERL stuff I use is done through SSI's

code:
<!--#exec cgi="/cgi-bin/script.cgi" -->

Then by giving the document the .shtml extension, that line is executed at the server and the results are inserted into the html sent to the client browser.

If I give the document an ASP extension, those lines are read as comments and nothing happens.

How in ASP, can I insert the results of a PERL Script, the same as I've been doing it with SHTML???

Help me Obi Won Kenobi, you're my only hope!

------------------
jim
Beauty is in the eye of the Beer Holder
< Brews and Cues >


Posted by RenegadeSnark on Sep. 21 2000,19:51
Arf.. I don't know ASP... PHP it is virtual()... you just run the CGI as a command and print the output (minus the headers of course) so it's simple if you can access shell commands from ASP.

------------------
Webbie/EIC
< http://boomgames.com >

Founder < http://tucb.com/ >


Posted by jim on Sep. 21 2000,20:33
Actually I found out I'm screwed....

Microsoft - Q172024

INFO: Server Side Include Directives Not Processed by ASP

--------------------------------------------------------------------------------
The information in this article applies to:

Active Server Pages
Microsoft Internet Information Server versions 4.0, 5.0

--------------------------------------------------------------------------------


SUMMARY
When attempting to process a Server Side Include (SSI) directive within an Active Server Pages (ASP) file, the only directive type that will be processed is the #INCLUDE directive. Other directives such as #EXEC are not supported by ASP.

MORE INFORMATION
If the page containing your source code has a file extension of .asp, then it will be processed by Asp.dll. Asp.dll and Ssinc.dll do not interact; therefore, SSI directives will not be processed by Ssinc.dll. The only SSI directive that will be processed by Asp.dll is the #INCLUDE directive.

REFERENCES
For the latest Knowledge Base artices and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
< http://support.microsoft.com/support/vinterdev/ >

Additional query words:

Keywords : kbASP kbScript kbWebServer kbGrpASP kbDSupport kbiis400 kbiis500
Version : winnt:4.0,5.0
Platform : winnt
Issue type : kbinfo
Technology :

------------------
jim
Beauty is in the eye of the Beer Holder
< Brews and Cues >


Posted by Alarion on Sep. 22 2000,10:29
All the more reason to use PHP =)

------------------
Trying to figure out what to do with my new domain : < www.rabid-wolf.com >
Lead (only) developer of Data-Admin: < http://dadmin.sourceforge.net >


Posted by jim on Sep. 22 2000,11:14
Sure! No problem. Well except I don't know PHP, and I don't think my web host supports it.

------------------
jim
Beauty is in the eye of the Beer Holder
< Brews and Cues >


Powered by Ikonboard 3.1.4 © 2006 Ikonboard