SmarterStats 3.x Help
This documentation is for a product that is no longer supported by SmarterTools.

Running Web Interface Under IIS

By default, SmarterStats will install a basic web server that allows you to start using SmarterStats immediately after installation. However, it is recommended that you move SmarterStats to a more robust and secure web server, such as Microsoft's Internet Information Server (IIS). To configure SmarterStats to run under IIS 5.0 or higher, follow the step-by-step instructions below. For IIS7 in Windows 2008, please see the end of this page.

This section explains how to setup SmarterStats as its own IIS site (recommended method). If you wish to run SmarterStats as a virtual directory under an existing IIS site, click here.

Note: This topic assumes that you are familiar with IIS and how it works. SmarterTools recommends that you use the web server included with SmarterStats if you do not feel comfortable using IIS.

Note: Several steps that were necessary under previous versions of SmarterStats are no longer necessary, and thus have been removed from this topic.

Install IIS (if necessary)

 

Click on Start -> Control Panel -> Add Remove Programs

 

Click on Add / Remove Windows Components.

 

Check the box for Internet Information Services (IIS).

 

Complete the Wizard and wait for the installation to complete.

 

If Microsoft.Net mappings are not correct (for example, if you install IIS after Microsoft.Net), run the following at the command prompt (replace "\Windows\" with "\WinNT\" for Windows 2000 installations):

  • c:
  • cd \Windows\Microsoft.Net\Framework\v1.1.4322
  • aspnet_regiis -i

Disable the SmarterStats Web Server

While not absolutely necessary, this step will improve security on your server and is highly encouraged.

These steps will stop and disable the Web Server included with SmarterStats. They will also have the side-effect of disabling the shortcut to SmarterStats on your desktop until you update it with the new URL for SmarterStats.

 

Click on Start -> Program Files -> SmarterTools -> SmarterStats -> Configure SmarterStats Web Server

 

Click on the Stop button

 

Change the Startup Mode to Disabled and click on the Apply button

 

Click on the Close button

Add SmarterStats to IIS

 

Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS)

 

Right-click on the web sites tree on the left of the page and choose New -> Web Site

 

When asked for a description, enter SmarterStats

 

Choose the IP address to use for web interface. If this IP address is shared with another web site, you will need to use a different port or Host Headers. For more information about using Host Headers, refer to the IIS documentation.

 

For Path, use "C:\Program Files\SmarterTools\SmarterStats\MRS" (or use the location in which you installed SmarterStats).

 

Leave the "Allow anonymous access to this web site" box checked.

 

When asked what permissions to grant, choose only Read and Run Scripts.

 

Finish the wizard

Verify IIS Settings

 

If you are using Windows 2003, verify that the ASP.NET v1.1.4322 Web Service Extension is set to Allowed in IIS.  If you do not see ASP.NET under Web Service Extensions, ensure that ASP.NET is enabled in the Application Server.  (Control Panel -> Add / Remove Programs -> Windows Components -> Application Server -> Details)

 

In IIS, right-click on the Config directory for the SmarterStats site and choose properties. Uncheck the Read flag and click on OK. If asked, choose to apply the change to child objects as well.

 

Ensure that the default document for the site is Default.aspx (under the Documents tab)

Update DNS

 

If any domains are already setup with pointers to SmarterStats, make sure to update their DNS records to point to the new IP address.

Test the Site

 

Open up a web browser, and type in the IP address of the site you just added.


To Configure IIS7 for Windows 2008


Disable the SmarterStats Web Server

 

Click Start -> Program Files -> SmarterTools -> SmarterStats -> Configure SmarterStats Web Server

 

Click Stop

 

Change the Startup mode to Disable and click Apply

 

Click Close

Add an Application Pool

 

Click Start -> Control Panel -> Administrative Tools -> Internet Information Service (IIS) Manager

 

Right click Application Pools and select "Add Application Pool"

 

Name the pool "SmarterStats" (or something similar)

 

Set Managed Pipeline Mode to "Classic" and click OK

Add SmarterStats to IIS

 

Click Start -> Control Panel -> Administrative Tools -> Internet Information Service (IIS)

 

Select Server Name -> Open ISAPI and CGI Restriction -> Verify that ASP.NET v.2. 0 is allowed (If not, right click on ASP.NET v2.0 and select "Allowed")

 

On the left side of the page, right click Sites and choose "Add Website"

 

Name the site "SmarterStats"

 

If you created an Application Pool name other than "SmarterStats" click Select and choose the correct Application Pool.

 

For the physical path, browse to the SmarterStats\MRS folder. The default location is C:\Program Files\SmarterTools\SmarterStats\MRS

 

For Binding, choose an IP Address to use for Webmail. If this IP address is shared with another Web site, you will need to use a different port of Host Headers. For more information about using Host Headers, refer to the IIS documentation.

 

Click OK