Home
Features
Software
Quick Install
SAS Side
The "Broker"
Config Files
Bugs and Enhancements
Change Log
FAQ
License
|
Checkout the example config files in the config directory for brief notes on all the parameters.
Demo Quickie Install
If you want to see CGI2SAS in action... Production systems should be
configured with a little more care... ;-)
- Unpack/Unzip install package into a temporary directory
- Edit "./config/install.conf" and edit the parameters as
needed
- Change directory to "./bin"
- Run "install_cgi2sas.py" to install and configure the
demo system
On windows double click on "install_cgi2sas.py"
Note: The Install directory must not exist
- Edit your apache "httpd.conf" to enable the demo
system. This is my httpd conf. Make sure you backup your httpd.conf first
<VirtualHost *>
ServerName cgi2sas
DocumentRoot p:/cgi2sas/demo/htdocs
ScriptAlias /c2s-tst/ "p:/cgi2sas/demo/cgi-bin/"
<Directory "p:/cgi2sas/demo/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /c2s-bin/ "p:/cgi2sas/bin/"
<Directory "p:/cgi2sas/bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
|
Note on Windows dont forget to update your
/winnt/system32/drivers/etc/hosts with
127.0.0.1 cgi2sas
or if you prefer...
Alias /cgi2sas/ "p:/cgi2sas/demo/htdocs/"
<Directory "p:/cgi2sas/demo/htdocs/"
Options Indexes FollowSymlinks Multiviews
AllowOverride None
Order allow, deny
Allow from all
</Directory>
ScriptAlias /c2s-tst/ "p:/cgi2sas/demo/cgi-bin/"
<Directory "p:/cgi2sas/demo/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /c2s-bin/ "p:/cgi2sas/bin/"
<Directory "p:/cgi2sas/bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
|
- Then run start the CGI2SAS Load Manager and Log Viewer
./bin/logview.bat
./bin/cgi2sas_mgr.bat
|
or....
If you want to run CGI2SAS as a service on windows then first install the services
./bin/win32_cgi2sas_mgr_install.bat
./bin/win32_logview_install.bat
|
-
Truck over to "services" and start each service. Fire up your fav web
browser. Run index.html..... Best viewed using mozilla ;-)
run the "proc options log" or "list vars"
programs
view http://localhost:8000 to access the log viewer.
- If you are upgrading from a previous version of cgi2sas.
in the old version....
stop the cgi2sas services
goto the ./bin directory
run the win32_*_remove.bat files.
then rename your old cgi2sas directory to something different
install cgi2sas and then copy your config files from ./config
from the old version to the new version. Have Fun!!!! Problems
with the demo The code previews dont render correctly in IE 5
(unknown for other versions). Mozilla and lynx work fine. When
displaying code previews, rather than embed the code in HTML I just
send the text file to the browser with Context Type : text/plain.
|