If you see that the FastCGI does indeed exist on the server, it is now time to configure PHP on the machine. For this, close the modules window and after making sure that the QDIG Web application is still selected, double click the Handlers icon on the right pane.
This is the place where extension can be mapped to different handlers. Traditionally, say in IIS6, you would create a Script Map for *.php to point to the PHP executable. However, in IIS7 since you want to use the modular mapping, you will select 'New Module Mapping' in the task pane on the extreme right of the IIS Manager window. A new dialog box pops up here in which you need to specify the following items. The extension as '*.php,' the module as 'FastCGI' or 'iisfcgi,' the optional executable should point to c:\PHP\php-cgi.exe and the name should be any descriptive name, such as 'PHP on FCGI.' Save and confirm the settings here.
Once these are done, add a default document as 'index.php.' Use your browser to view the Web application. Your PHP application should be running fine at this point. However, we still have not really started using the Integrated Pipeline yet-we've only used a high performance execution engine through the FastCGI module. So let's add some ASP.NET Forms Authentication to the QDIG PHP Web application. For this example, we will use a simple XML based data source that contains the user information.
We will then use a simple XMLMembershipProvider that allows ASP.NET login controls to read and write directly to this encrypted XML file. The XML provider is available for free at CodePlex (http://www.codeplex.com/ aspnetxmlproviders). Open up the folder where you extracted Qdig. Create a new folder named App_Data so that the data can be stored automatically there.
Now in IIS Manager, again select the Qdig application and on the right pane, select the Providers icon. Choose '.NET Users' from the dropdown and click on 'Add.' Select the XMLMembershipProvider you got above. Click on Apply and from the main screen, select '.NET Users.' Click Add here as well and add a few users to the system (that is, the Web application) by using the dialog box.
Get most out of your technology infrastructure investments with Dell
About CIOL | Media Kit | Site Map | Contact Us | Help | Write to us | Jobs@CyberMedia | Privacy Policy
Copyright © CyberMedia India Online Ltd. All rights reserved. Usage of content from web site is subject to Terms and Conditions.