At 7:02 PM 12/7/00, tedd wrote: >Hi: > >I might also suggest that if you are going to execute a cgi script >from within an HTML document on an Apache server you should try >using an .shtml suffix instead of an .html. I found this out >recently by attending this list. > That's configured in Apache by the sys admin, who can choose to enable SSI execution for .html if they want. Some commercial web hosts do so. I just did it when I set up Apache under OS X. I have to say, BTW, that this is cool: having Perl (5.6!) available on the command line in a terminal window, and a UNIX/Apache web environment as a test bed for my CGI work -- in my own machine! Doesn't replace BBEdit with MacPerl in sheer handiness, but fun nonetheless... My scripts mostly end up on servers running UNIX/LINUX, or even NT, which has its own config for SSI. I've encountered plenty of variations in how system administrators configure their web servers for SSI. So, the best thing is to *ask* how the server you're deploying on is configured: - which HTML file suffixes are allowed or required for SSI (.html, .shtml, .asp, ...)? - which SSI commands are enabled (echo, include, exec, ...)? - where may CGI scripts be placed (cgi-bin directory, html directory)? - how are CGI scripts executed (shell, Perl, ...)? - which suffixes are allowed or required for CGI scripts (.cgi, .pl, ...)? 1; - Bruce __Bruce_Van_Allen___Santa_Cruz_CA__ ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org