GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

W3-mSQL

bullet Introduction
W3-mSQL provides a programmatic interface to the mSQL database system from within an HTML document. It enables the development of entire programs within a Web page while offering comprehensive access control and security features.

 

bullet Installation
To install W3-mSQL on your Virtual Private Servers, connect to your Virtual Private Servers via Telnet or SSH and do the following, according to your Virtual Private Servers O/S:
  • FreeBSD & Solaris
    Use vinstall to install W3-mSQL:

    % vinstall w3-msql
    % chmod 755 ~/www/cgi-bin/w3-auth ~/www/cgi-bin/w3-msql 
    

 

bullet Configuration
W3-mSQL enhanced HTML files must be pre-processed by the ~/www/cgi-bin/w3-msql CGI before the web server sends the results to the requesting client. Normally, this pre-processing requires the ~/www/cgi-bin/w3-msql CGI to appear in the URL of each W3-mSQL file on your site. For example:

http://YOUR-DOMAIN.NAME/cgi-bin/w3-msql/file.msql

The Apache Web Server can be configured to automatically pre-process W3-mSQL files with the .msql file extension. To setup W3-mSQL redirection, add the following lines to the ~/www/conf/httpd.conf file on your Virtual Private Servers (or the ~/www/conf/srm.conf file, if you Virtual Private Servers was configured before Dec. 8, 1998):

AddHandler htmsql msql
Action htmsql /cgi-bin/w3-msql

After doing this, it is possible to access W3-mSQL files this way:

http://YOUR-DOMAIN.NAME/file.msql

The .msql files are automatically pre-processed by the ~/www/cgi-bin/w3-msql CGI without the ~/www/cgi-bin/w3-msql CGI appearing in the URL path.

 

bullet Sample Application
A sample W3-mSQL application is also available for installation on the Virtual Private Servers. You can install the simple example by unpacking an archive file onto your Virtual Private Servers.

% cd
% tar xvf /usr/local/contrib/w3-msql-demo.tar

Once the files are in place run the install script.

% cd ~/www/htdocs/bookmarks
% ./setup_bookmark

You can then access the sample application at:

http://YOUR-DOMAIN.NAME/bookmarks/Welcome.html


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.