Changes between Version 7 and Version 8 of SWAT
- Timestamp:
- Feb 16, 2009, 3:02:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SWAT
v7 v8 5 5 == Prerequsites: == 6 6 7 1. Make sure you have downloaded Apache2 and unziped. Lets assume it was unziped to x:\apache2.7 1. Make sure you have downloaded Apache2 and unziped. 8 8 9 2. Copy x:\apache2\conf\httpd.conf.sample to x:\apache2\conf\httpd.conf9 2. We assume Apache2 was unzipped to x:\apache2 and samba was installed to x:\samba. 10 10 11 3. Edit x:\apache2\conf\httpd.conf 11 3. Copy x:\apache2\conf\httpd.conf.sample to x:\apache2\conf\httpd.conf 12 13 4. Edit x:\apache2\conf\httpd.conf 12 14 13 15 {{{ServerRoot "x:/apache2"}}} [[BR]] … … 20 22 {{{<Directory "x:/apache2/htdocs">}}} 21 23 22 {{{ScriptAlias /cgi-bin/ "x:/apache2/cgi-bin/"}}} 23 24 {{{<Directory "x:/apache2/cgi-bin/samba">}}}[[BR]] 24 {{{Alias /swat/ "x:/samba/swat/"}}}[[BR]] 25 {{{ScriptAlias /cgi-bin/samba/ "x:/samba/"}}}[[BR]] 26 {{{ScriptAlias /cgi-bin/ "x:/apache2/cgi-bin/"}}} 27 28 {{{PassEnv UNIXROOT}}}[[BR]] 29 {{{PassEnv ETC}}}[[BR]] 30 {{{PassEnv PATH}}}[[BR]] 31 {{{PassEnv TMPDIR}}} 32 33 {{{<Directory "x:/samba">}}}[[BR]] 25 34 {{{AllowOverride All}}}[[BR]] 26 35 {{{Options None}}}[[BR]] … … 33 42 {{{</Directory>}}}[[BR]] 34 43 35 4. Adjust startup.cmd in x:\apache2 with set beginlibpath=x:\apache2\bin;x:\apache2\modules44 5. Adjust startup.cmd in x:\apache2 with set beginlibpath=x:\apache2\bin;x:\apache2\modules 36 45 37 5. create user with: x:/apache2/bin/htpasswd -c x:/apache2/conf/users my_user_name46 6. create user with: x:/apache2/bin/htpasswd -c x:/apache2/conf/users my_user_name 38 47 39 6. Start startup.cmd (if all went well Apache starts)48 7. Start startup.cmd (if all went well Apache starts) 40 49 41 50 == Using SWAT: == 42 51 43 1. Copy SWAT.exe from your samba installation to x:\apache2\cgi-bin\samba.52 1. Open the Browser and point it to 127.0.0.1/cgi-bin/samba/swat.exe 44 53 45 2. Open the Browser and point it to 127.0.0.1/cgi-bin/samba/swat.exe 46 47 3. Now you should see the SWAT interface to configure Samba server 54 2. Now you should see the SWAT interface to configure Samba server