= How to enable SWAT as a Apache CGI = This page provides a quick cookbook to setup SWAT as a CGI for Apache on eComstation & OS/2. == Prerequsites: == 1. Make sure you have downloaded Apache2 and unziped. Lets assume it was unziped to x:\apache2. 2. Copy x:\apache2\conf\httpd.conf.sample to x:\apache2\conf\httpd.conf 3. Edit x:\apache2\conf\httpd.conf {{{ServerRoot "x:/apache2"}}} [[BR]] {{{DocumentRoot "x:/apache2/htdocs"}}} # This should be changed to whatever you set {{{DocumentRoot}}} to.[[BR]] {{{}}} {{{ScriptAlias /cgi-bin/ "x:/apache2/cgi-bin/"}}} {{{}}}[[BR]] {{{AllowOverride All}}}[[BR]] {{{Options None}}}[[BR]] {{{Order allow,deny}}}[[BR]] {{{Allow from all}}}[[BR]] {{{}}} 4. Adjust startup.cmd in x:\apache2 with set beginlibpath=x:\apache2\bin;x:\apache2\modules 5. Start startup.cmd (if all went well Apache starts) == Using SWAT: == 1. Copy SWAT.exe from your samba installation to x:\apache2\cgi-bin\samba. 2. Open the Browser and point it to 127.0.0.1/cgi-bin/samba/swat.exe 3. Now you should see the SWAT interface to configure Samba server