in

Community Server

The platform that enables you to build rich, interactive communities

Carlos Caneja~s Blog

October 2007 - Posts

  • Install FAST CGI on IIS7

    Preface- 

    This article assumes you already have IIS7 installed.

    This installation uses non-thread-safe PHP 5.2.3

    I. Install PHP
     (http://www.iis.net/articles/view.aspx/IIS7/Hosting-Web-Applications/PHP/Using-FastCGI-to-host-PHP-applications-on-IIS7)

    1. Unzip the contents of the PHP 5.2.3 download into C:\PHP.
    2. Copy the PHP.INI-dist file to PHP.INI under the c:\windows directory.
    3. Open the PHP.INI file in Windows Notepad and make the following changes.
      1. Change: extension_dir = "C:\PHP\ext"
      2. Disable Force Redirect: cgi.force_redirect = 0 
    4. Install IonCube (if needed)
      1. Download here
      2. Add the following line to your PHP.ini
        zend_extension_ts = "<drive>:\<path>\ioncube_loader_win_<php flavour>.dll"
    5. Save the PHP.INI file and close Windows Notepad.

    II.  Install  the FASCGI Module

    1. Open the Windows Control Panel.
    2. Double-click Programs and Features.
    3. Click Turn Windows features on and off.
    4. Expand the Roles node in the tree.
    5. Select the Web Server (IIS) role.
    6. Click Add Role Services in the Role Services section at the bottom of the page.
    7. Select the CGI option.
    8. Click the Next button.
    9. Click the Install button to begin the installation.

    III.  Create the PHP / FastCGI handler mapping using the IIS Manager

    1. Open the IIS Administration tool by clicking Start, then Run, then enter Inetmgr.exe and click OK.
    2. Select the server node in the tree view.
    3. Double-click the Handler Mappings feature in the main panel.
      At this point, you will see a list of existing handler mappings for the server, which define the extensions that the server knows how to process, and what handler components are responsible for processing them. For example, the *.asp extension will be mapped to the "IsapiModule", which enables the ASP.dll ISAPI extension to process ASP scripts.
    4. Click Add Module Mapping in the Actions pane to create a new handler mapping for *.PHP for the FastCGI module.
    5. Set request path to "*.PHP", Select the "FastCGIModule" in the dropdown box, and set the executable field to the path to the PHP-CGI.EXE executable, which provides the FastCGI gateway to the PHP scripting engine in your PHP distribution.
    6. When you press OK, you will be prompted with a dialog box asking whether you would also like to create a FastCGI application pool for "c:\php\php-cgi.exe". Click Yes. This will automatically create the configuration for running the specified PHP-CGI.EXE application, which is required for each FastCGI application.

    That's ALL!

    Posted Oct 26 2007, 09:05 PM by caneja with 1 comment(s)
    Filed under:
  • Install and Configure Secure FTP on IIS7

    Requirements: Windows Server 2008 (Code Name "Longhorn") Release Candidate 0 (RC0) or later

    1. Uninstall the existing FTP server (IIS6) from the server  if previously installed.
      1. Open the Windows Control Panel.
      2. Double-click Programs and Features.
      3. Click Turn Windows features on and off.
      4. Expand the Roles node in the tree.
      5. Select the Web Server (IIS) role.
      6. Click Remove Role Services in the Role Services section at the bottom of the page.
      7. Select the FTP Publishing Service option.
      8. Click the Remove button.
    2. Download Microsoft FTP Publishing Service for IIS 7.0 - RC0
    3. Run the installation wizard (this will cost you a web service shutdown).

    Once the service is installed proceed by opening the Internet Information Services (IIS) Manager.

    The 1st thing you'll notice is that there is no FTP FOLDER under the server name.

    Instead you will want to select the site you wish to work with and click "add FTP Publishing..." under the Actions menu.

    add-FTP

    The rest is very straight forward as the configuration wizard asks for the IP Binding and the SSL cert to be used.  You can also choose SSL enforcement.

    FTPconfig1

    Next, set the Authentication and the Authorization options to finish the setup.

    FTPconfig2

    Once FTP Publishing is provisioned Internet Information Services Manager will display more options for that FTP instance.FTP-settings-IIS7

    Posted Oct 26 2007, 05:08 PM by caneja with 1 comment(s)
    Filed under:
  • Community Server 2007 Overview and Developer Conference

    If you currently run, have previously visited, or are actively part of some a community based site then I’m sure you have stumbled upon Community Server. Currently on version 2007 SP2, this agile web based asp.net  application allows you to swiftly deploy and build on a framework tailored to community based sites.  The application was born thanks to the merger of .TEXT blog engine, nGallery, and ASP.NET FORUMS back in early 2005.

    Features:

    • Forums system which can integrate with email discussion lists and news servers
    • Publishing system that manages single and multi-user blogs
    • File and photo sharing integrated with forums and blogs
    • Content mirroring to enable content syndication and republishing
    • Integrated search across blogs, forums, photos, and files in one consistent UI
    • Integrated tagging support throughout all applications
    • Search engine-friendly permalink structure
    • Extensible with support for plug-in modules, scheduled jobs, and spam rules
    • Automatic TrackBacks and Pingback
    • WYSIWYG HTML editing
    • Control panel with consistent tools for community management
    • Single sign-on authentication modules available for forms authentication, cookies,
    • Active Directory, and Windows Live ID
    • Source code for all core components available in the free SDK download

    Hosting:

    ASP.net 2.0 along with MS SQL 2000 or 2005 are required to run CS 2007.
    If you are an existing appliedi.net customer it means you can run it on any of our plans as long as you have  MS SQL (the Value Plus is the only plan not including MS SQL and therefore it must be purchased as an add-on).
    http://www.appliedi.net/shared-hosting/
    It’s easy to get started on the value plus and upgrade on the fly to a vs-1 or a vs-2. As I have mentioned on a prior post, the main and most meaningful difference on these packages is the maximum allowed size of the worker process. In other words, how much memory your application is allowed to use up on the server. The value plus is ideal for development stages but not for production as a couple concurrent users will quickly make the WP grow to over 100 MB.


    New & Events:

    On the dates of October 20th thought the 21st Telligent will hold the 1st ever Community Server Developers Conference. Appliedi.net will play a sponsor role on the new event. If you are reader of this blog and plan on visiting the event please be sure to drop by the booth and say hello.
    Here are the full details on the event: http://csdc.communityserver.org/Sessions/

  • Shut Down Windows Event Live tracker

    If don't find this feature useful in your environment here is how how you can disable it.

    Start -- > Run

    1. type "gpedit.msc" and click OK
    2. Expand Administrative Templates -> System under computer configuration
    3. Double click Display Shutdown Event Tracker and select the "Disable" radio button in the property page and press OK.

    This works on both Windows 2003 and 2008.

More Posts
Powered by Community Server (Non-Commercial Edition), by Telligent Systems