Archive for the ‘Internet Information Server 7’ category

Setting up phpMyadmin in IIS 7

January 2nd, 2010

Phpmyadmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. Since Windows doesn’t include a GUI  managment tool for Mysql, you will need to install phpMyadmin to acess a GUI  rather than administratering Mysql via the command line interface.

Please be sure that your php installation already has the GD/GD2 Library, Mysql and MBString extensions active. You can see this by going to your IIS server and accessing the php test page. If you do not have one, you can make one by going to “C:\inetpub\wwwroot\ and my creating a text with the following line;

<? phpinfo(); ?>

Save the file as phptest.php.

This will allow you to goto Http://localhost/phptest.php. If you don’t see the Mysql or MBstring sections, you will need to have them enabled to proceed as phpMyadmin requires this.
» Read more: Setting up phpMyadmin in IIS 7

How To Allow ICMP Incoming Requests In Windows 2008

December 16th, 2009

Windows 2008, by default has all ICMP requests turned off. This of course can cause issues with ping requests or using any type of monitors that ping the server for heartbeats. However turning this option on isn’t exactly how it was in Windows 2003 and it’s not located in the Windows firewall settings.  To enable it, you have to goto the Windows firewall with advanced security settings, which is in the administrative tools section.
To get to the Windows firewall with advanced security, you’ll need to goto the control panel and the administrative tools. You can also goto to the administrative tools directly if there is a link in your programs bar.

icmp1

Once there , look inside of the inbound ruleset and scroll down to the file and printer sharing. You’ll need to right click and enable the “FIle and Printer Sharing (echo request – ICMPv4-in) rule.

icmp2

This will enable the rule and it will no longer bt grayed out (it will be green now).

icmp3

You can also enable thiss by running the following command from the Windows command prompt.

netsh firewall set icmpsetting 8

To disable incoming ICMP requests, type the following.

netsh firewall set icmpsetting 8 disable

Installing Ionics Isapi Rewrite Filter in IIS 7

November 20th, 2009

IIS v7 is included with Windows Server 2008 and Windows Vista. These are the steps required to install IIRF on either of those operating systems.
Installing on IIS7 – Vista or Windows Server 2008

To configure IIRF on IIS7, follow these steps:

1. open the IIS Manager. On Windows Vista, do this through Start…Control Panel…Administrative Tools.

Administrative tools in Windows Vista / Windows 2008

figure2

Selecting IIS Manger

figure1

IIS Manager in Action

figure3

2.  If you would like to configure IIRF to be a “global filter” (applies to all websites and virtual directories), then, select the machine or server name on the left-hand side tree. This should be the top-most (root) node in the tree.

Install Ionic Rewrite Filfer for your server

figure4

If you would like to configure IIRF for an individual web site, expand the server node, and select the appropriate web site on the left-hand side tree. tree.

Installing IIRF for a particular web site

figure51

3. In either case, in the center-right panel of the MMC window you should now see a set of icons. One of them is labeled “ISAPI Filters”. Double click it. Your window should look similar to the following:

figure6

4. On the far right hand side in the “Action Pane” for the MMC window, click the top-most item, which reads “Add…”.

5. You get a simple dialog with a box for filter name and a box for the path to the Filter DLL. Type in “IIRF” for the filter name, and the full path for the DLL, eg, c:\windows\system32\inetsrv\IIRF\IsapiRewrite4.dll .

Adding an ISAPI Filter

figure7

Note:  Be sure to allow the appropriate user read + execute access to this path.

Click OK.

6. Copy your ini file into the same directory.

      The filter is now installed.
7. On Windows Server 2008, insure that the IIRF DLL is allowed to run: In the left hand side of IIS Manager, click Web Service Extensions. On the right hand side, right click the IIRF extension, and click Allow.

figure8

 8. Note: If your OS is 64-bit, you must select “Enable 32-Bit Application” in the Advanced Settings on the App Pool, in order to let IIRF run.

*All information taken from the original site – http://cheeso.members.winisp.net/IirfHelp/frames.htm *

Donate if you can as well. This is a great tool!

How To Set A Default Document in IIS7

November 7th, 2009

Adding a Default document to IIS7 is quick and easy. This article will show you how to add and prioritize these documents. You will first want to log in to IIS on the server. Once there, expand the “website” tree and select the domain that you wish to edit.

iis7default1

In the “IIS” settings for this domain, you will notice a “Default Document” button. Click on this.

iis7default2

You will now be in a section of IIS that shows you the existing list of Default Documents, and the order that they are prioritized in. To add a new document, look to the right of the screen for the “Add” button.

iis7default3

Once the document has been added, you can alter the priority level using the tool bar on the right.

iis7default4

This will allow you to move up or move down documents, which will set the priority of how these documents are accessed. That is all!

How to setup a website in IIS7 (Internet Information Server)

September 19th, 2009
1. To get started, lets
goto the Server Manager and open up the IIS manager. You can do this by
going to Start -> Administrative Tools -> Internet Information Services
(IIS) Manager.

2.Once IIS Manager opens,
expand out the web server and then expand the Sites folder. Right click
on sites and then click on Add Web Site

3. In the Add Web Site
window we have some basic information to fill out for a static site:

  • Site Name – Name of the site, this will be
    either domain.com or *.domain.com (Where * would represent a sub
    domain name such as www or blog for example).
  • Physical Path – The location on the local
    server that will hold the files for the website. If you did not set
    this up beforehand you can create a folder through this interface.
  • Type – choose either http or https depending
    on whether your site will use Secure Socket Layer (SSL) certificate
    or not.
  • IP Address – From the dropdown you can
    specify what IP the website should answer on or use the default
    switch of All Unassigned. Now, if you have multiple IP addresses,
    you can simply choose the one you wish to assign to the website as
    well. Lastly, if you even neeed to change the IP address, you can do
    so by going back and clicking on binding’s, which will take you to
    the section that allows IP address changes.
  • Host Name – If you would like this site to
    respond to other domain names you can put these here.
4. That’s it. You’ve just configured your
first website in IIS7. While it is a bit different from IIS6, the
process is still the same.