Mailing List Archive



Back to the month index Back to the list index

Alex Demko (Alex_Demko@mbnet.mb.ca)
Sun, 20 Apr 1997 22:17:44 -0500


Message-Id: <335ADC58.1036@mbnet.mb.ca>
Date: Sun, 20 Apr 1997 22:17:44 -0500
From: Alex Demko <Alex_Demko@mbnet.mb.ca>
Subject: [mSQL] question about w3-msql

Is there anyway to get w3-msql enhanced html pages to work like Perl
scripts (ie. via the she-bang/ #! script thingie)? For example, lets
say this files exists as /home/user/public_html/sqltest.cgi

--start file quote
#!/usr/local/msql/bin/w3-msql
<h1>Test</h1>
echo("Hello World\n");
--end file quote

Then when I go to localhost/~user/sqltest.cgi I get 'filename missing'
error from w3-msql.

Running scripts in /usr/local/msql/www works perfectly, But I want each
user to be able to write their own scripts and have it in their own
directories.

BTW I'm using Linux 2 (Redhat 4) and mSQL 2/B6 and Apache.

Please email replies, as I'm not on the mailing list.

-- 
====================================================================
Alex Demko (Alex_Demko@mbnet.mb.ca) # Chaos Software Productions
Univ. of Manitoba Comp. Sci.        # Just released: Drip! (PC 386+)
C C++ Pascal Delphi Perl HTML Java  # http://www.mbnet.mb.ca/chaos

-------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!