URL Rewrite Module v2 – Release Candidate

The URL Rewrite Module 2.0 – Release Candidate is available for download. The release contains functionality and stability improvements and it is believed to have a quality level suitable for production deployments.

Overview

Microsoft URL Rewrite Module 2.0 for IIS 7 is an incremental release that includes all the features from version 1.1, and adds support for outbound response headers and content rewriting. More specifically, it can be used to:

  • Replace the URLs generated by a web application in the response HTML with a more user friendly and search engine friendly equivalent
  • Modify the links in the HTML markup generated by a web application behind a reverse proxy.
  • Fix up the content of any HTTP response by using regular expression pattern matching.
  • Modify HTTP request headers and IIS server variables.
  • Modify HTTP response headers

Install the URL Rewrite Module 2.0 – RC

To install the URL Rewrite Module 2.0 – RC, use the download links at the module’s home page at http://www.iis.net/extensions/urlrewrite. Continue Reading »

5 Comments »

ruslany on November 9th 2009 in URLRewrite

1,138 views

PoorFairAverageGoodExcellent (5 votes, average: 4.20 out of 5)

Windows Cache Extension 1.0 for PHP – RC

The Windows Cache Extension 1.0 for PHP – Release Candidate is available for download. The release contains functionality and stability improvements and it is believed to have the quality level suitable for production deployments.

Install the Windows Cache Extension 1.0 for PHP – RC

To install the Windows Cache Extension for PHP 5.2 and PHP 5.3, use the download links at the extension’s home page at http://www.iis.net/extensions/wincacheforphp.

The installation with Web Platform Installer is the easiest as it will automatically place the extension binary into proper location and will update the PHP configuration to enable the extension. Also, if you have the beta release of the extension installed, then Web PI will upgrade it. If you install any PHP application by using Web PI then the Windows Cache Extension for PHP – RC will be offered as an optional component.

If you install the extension manually, then follow the instructions at “Using Windows Cache Extension for PHP“. Continue Reading »

1 Comment »

ruslany on October 19th 2009 in PHP

1,306 views

PoorFairAverageGoodExcellent (3 votes, average: 3.67 out of 5)

Enable PHP Syntax Highlighting on IIS 7

This post describes how to configure IIS 7 to output syntax highlighted source code for PHP files stored on the web server or site. This feature may be useful for development environments when you want to quickly make the source code accessible to other team members.

WARNING: Never attempt to do what is described below on any internet accessible web site! Doing so will greatly compromise the security of your web application.

The HTTP requests for the PHP source code are usually identified by the “.phps” file extension, e.g. http://localhost/index.phps. You will need to configure IIS to understand and handle the HTTP requests with this extension. There are two options for that: to create an IIS handler mapping for “*.phps” or to use the IIS URL Rewrite Module. Continue Reading »

2 Comments »

ruslany on October 6th 2009 in PHP, URLRewrite

1,895 views

PoorFairAverageGoodExcellent (4 votes, average: 4.00 out of 5)

Windows Cache Extension for PHP and CPU usage

The FastCGI module in IIS has a configuration setting maxInstances, which controls the number of concurrently running php-cgi.exe processes that IIS creates to process PHP requests. To achieve optimal performance, it is recommended to fine tune this setting for your specific environment starting with 8-10 instances per CPU core (e.g. maxInstances=32 for quad-core CPU).

The Windows Cache Extension for PHP can be used to improve performance of PHP applications running on Windows operating systems. The extension caches the compiled PHP opcode in the shared memory, which helps to avoid re-doing of such CPU intensive operations as parsing and compiling of the PHP source code. This means that when Windows Cache Extension for PHP is enabled, less CPU cycles are required for a web server to process PHP requests. Because of that, the previously configured value for the FastCGI maxInstances setting may not be adequate to load the server’s CPU completely and it may be necessary to increase the value further. Continue Reading »

8 Comments »

ruslany on September 2nd 2009 in FastCGI, PHP

2,455 views

PoorFairAverageGoodExcellent (6 votes, average: 4.00 out of 5)

Windows Cache Extension 1.0 for PHP – Beta

Today IIS team has released the beta of the Windows Cache Extension 1.0 for PHP. The Windows Cache Extension for PHP is a PHP accelerator, that is used to increase the speed of PHP applications running on the Windows operating systems. Any PHP application can take advantage of the functionality provided by the Windows Cache Extension for PHP without any code modifications. All that is required is that the extension is enabled and loaded by the PHP engine.

Install the Windows Cache Extension 1.0 for PHP – Beta

wpibadgesilver

or, download:

Windows Cache Extension 1.0 for PHP 5.2 – Beta

Windows Cache Extension 1.0 for PHP 5.3 – Beta

Follow the instructions at “Using Windows Cache Extension for PHP” to install, enable and configure the extension. Continue Reading »

9 Comments »

ruslany on September 1st 2009 in PHP

2,779 views

PoorFairAverageGoodExcellent (3 votes, average: 5.00 out of 5)

New release of Silverlight Player for WordPress

Today I have published a new release of the WP Silverlight Media Player plugin for WordPress. In addition to a few important improvements and optimizations, it contains a new feature that allows to track the number of times the video files have been watched and how many of those have been watched until the end.

Once you install or upgrade to this version of the plugin you should see a new menu group in the WordPress Dashboard: Continue Reading »

3 Comments »

ruslany on August 15th 2009 in WordPress

1,613 views

PoorFairAverageGoodExcellent (5 votes, average: 4.20 out of 5)

Visual Studio XML IntelliSense for URL Rewrite 1.1

If you ever tried to write or modify rewrite rules in web.config file by using Visual Studio 2008 XML Editor, you may have noticed that the Visual Studio XML IntelliSense does not work for all URL Rewrite Module configuration elements. This is because the XML schema for <rewrite> element is not registered in Visual Studio Schema Cache. This post provides the instructions on how to register URL Rewrite schema with Visual Studio to enable IntelliSense support.

To enable IntelliSense support for URL Rewrite 1.1 follow these steps: Continue Reading »

5 Comments »

ruslany on August 13th 2009 in URLRewrite

1,880 views

PoorFairAverageGoodExcellent (3 votes, average: 5.00 out of 5)

URL Rewrite Module 2.0 for IIS 7 – Beta

Today IIS team has released the URL Rewrite Module 2.0 for IIS 7 – Beta. This is an incremental release that includes all the features from version 1.1, and adds support for outbound response rewriting. More specifically, it can be used to:

  • Replace the URLs generated by a web application in the response HTML with a more user friendly and search engine friendly equivalent
  • Modify the links in the HTML markup generated by a web application behind a reverse proxy.
  • Fix up the content of any HTTP response by using regular expression pattern matching

Install the URL Rewrite Module 2.0 Beta

wpibadgesilver

or, download:

URL Rewrite Module 2.0 for IIS 7 – Beta (x86)

URL Rewrite Module 2.0 for IIS 7 – Beta (x64)

Continue Reading »

4 Comments »

ruslany on July 16th 2009 in URLRewrite

2,865 views

PoorFairAverageGoodExcellent (1 votes, average: 5.00 out of 5)

Per-site PHP configuration with PHP 5.3 and IIS

About a year ago I wrote an article about how to enable per-site PHP configuration on IIS with FastCGI. The instructions in that article required some non-trivial manipulations of IIS and FastCGI configuration settings. At that time it was one of the primary options for enabling per site php.ini support (other option was to use the htscanner extension for PHP). Now, with PHP 5.3 final release available, it is much simpler to implement the same configuration because PHP 5.3 has built-in support for per-directory INI settings and for user-defined INI files. This post describes how to use these features of PHP 5.3 with IIS to enable per-site and per-directory PHP configuration. Continue Reading »

8 Comments »

ruslany on July 11th 2009 in FastCGI, PHP

4,014 views

PoorFairAverageGoodExcellent (1 votes, average: 5.00 out of 5)

FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – RC

Today IIS team has released the FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – Release Candidate. This version is based on FastCGI Extension 1.0 and it adds several important improvements and features. The release is believed to have a quality level suitable for production deployments.

Install the Release Candidate of FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1

Install FastCGI 1.5 RC with Web Platform Installer

or, download:

FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – RC (x86)

FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 – RC (x64)

Upgrade from FastCGI Extension 1.0 and 1.5 Beta releases

If you already have installed FastCGI Extension v1.0 or FastCGI Extesnion v1.5 Beta, then the installation package will upgrade it to version 1.5 – RC. All the related IIS configuration and settings in fcgiext.ini file will be preserved during upgrade. Note that during upgrade from v1.0 the comments in fcgiext.ini will not be updated and will not mention new configuration settings. However the new settings can still be used after upgrade. Continue Reading »

1 Comment »

ruslany on June 24th 2009 in FastCGI

3,407 views

PoorFairAverageGoodExcellent (2 votes, average: 5.00 out of 5)

Recently Published Articles