Changes between Version 7 and Version 8 of SWAT


Ignore:
Timestamp:
Feb 16, 2009, 3:02:13 PM (11 years ago)
Author:
diver
Comment:

enhanced the howto

Legend:

Unmodified
Added
Removed
Modified
  • SWAT

    v7 v8  
    55== Prerequsites: ==
    66
    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.
    88
    9  2. Copy x:\apache2\conf\httpd.conf.sample to x:\apache2\conf\httpd.conf
     9 2. We assume Apache2 was unzipped to x:\apache2 and samba was installed to x:\samba.
    1010
    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
    1214
    1315    {{{ServerRoot "x:/apache2"}}} [[BR]]
     
    2022    {{{<Directory "x:/apache2/htdocs">}}}
    2123   
    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]]
    2534    {{{AllowOverride All}}}[[BR]]
    2635    {{{Options None}}}[[BR]]
     
    3342    {{{</Directory>}}}[[BR]]
    3443
    35  4. Adjust startup.cmd in x:\apache2 with set beginlibpath=x:\apache2\bin;x:\apache2\modules
     44 5. Adjust startup.cmd in x:\apache2 with set beginlibpath=x:\apache2\bin;x:\apache2\modules
    3645
    37  5. create user with: x:/apache2/bin/htpasswd -c x:/apache2/conf/users my_user_name
     46 6. create user with: x:/apache2/bin/htpasswd -c x:/apache2/conf/users my_user_name
    3847
    39  6. Start startup.cmd (if all went well Apache starts)
     48 7. Start startup.cmd (if all went well Apache starts)
    4049
    4150== Using SWAT: ==
    4251
    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
    4453
    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