Link to home
Start Free TrialLog in
Avatar of Toraton
Toraton

asked on

Content types...

I am trying to write a perl script for CGI that will print the output in SHTML format. Unfortunately, text/shtml and text/.shtml do not work, and if I use text/html, it ignores my #exec statements. Any info on this, or perhaps a workaround would be nice, because I need to send info through an SHTML page. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of BassTeQ
BassTeQ
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of herrmann1001
herrmann1001

I doubt seriously that the SSI tags will be interpreted/processed by the webserver if you create it "on th fly" from within an perlscript.

I concure with BassTeQ,  why not let perl to the whole work?.
Avatar of Toraton

ASKER

I would like to make the website easier to maintain and update, so if I have perl arrange the entire page, I must edit that script every single time I add a new page to the site. The way I have it now, I'm using SSI to dynamically create the navigation bar on every page, which makes it so I must edit only one file to maintain the entire site. That's the only reason I'm aiming to do this, but I'll try what you suggested. However, my problem is basically solved, because I learned that SSI accepts the GET method of sending variables, and thus, I just append the QUERY_STRING to the end of any cgi scripts that are used in it. Okay, that's it.