mylifeinaminute.com

Tag: Internet Information Services

Microsoft Web Platform Installer

by liquidpooled on Dec.01, 2008, under .NET, Internet Information Services, Microsoft, Server 2003, Server 2008, Vista, Visual Studio 2008

Microsoft has just released the Web Platform Installer (RC1).   What is the Web Platform Installer you ask?  From Microsoft:

“The Web Platform Installer (Web PI) is a simple tool that installs Microsoft’s entire Web Platform, including IIS7, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.”

The Web PI certainly looks promising as a quick ramp-up when setting up a development environment (or even a one-off server environment).

Leave a Comment :, , , , , more...

HTTPS redirects and IIS

by liquidpooled on Jun.09, 2008, under Microsoft, Office, Sharepoint Server, Windows SharePoint Services

Not quite SharePoint specific, but sometimes necessary is the ability to redirect a http connection (port 80) to a https connection (port 443) for an entire site. While there are several ways to do this, one way that works for both SharePoint and IIS 6.0 in general is the following (*Note this is for SharePoint):

  1. Create a new html file in your 12 hive (this way your virtual directory for IIS is already created by the SharePoint instance).
    • httpsredirect.htm
  2. Place your file in the 12 Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\httpsredirect.htm)
  3. Enter the following in the html file created in step 1:
    <html>
    <head>
    <title>HTTPS Redirector</title>
    <SCRIPT type="text/javascript">
    <!--
    if (location.protocol != 'https:')
    {
    window.location = 'https://'+ location.host + location.pathname + location.search;
    }
    // -->
    </SCRIPT>
    </head>
    <body>
    </body>
    </html>
    
  4. Define your custom error page in IIS for 404.3 errors for each SharePoint site which you want to be SSL only.
    • Select the 404.3 error in the properties dialog for the website.
    • Browse to the custom file you created (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\httpsredirect.htm)
    • Make sure that you are leaving the type as “File”
  5. Browse your site as http and you will be redirected to the SSL site.
3 Comments :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...