Previous Next

Thread: Drupal 6 Clean URLs on IIS 7

Last post 12-01-2008 1:07 PM by ruslany. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-17-2008, 4:26 PM

    • hellbird
    • Not Ranked
    • Joined on 04-28-2008, 9:49 PM
    • Posts 4

    Drupal 6 Clean URLs on IIS 7

    Hello, I would like to know, if anyone successfully enabled clean URLs on Drupal 6, using IIS7 and IIS7 URL Rewrite module or by using ISAPI IIRF Rewrite module (from codeplex). I’ve found instructions http://locksnlatches.blogspot.com/2007/10/drupal-clean-urls-with-iis7.html on this blog, but I don't know if ISAPI IIRF module is running (is there a way to check it?). 

    Thank you for all the answers.

    Best wishes,
    Marko

     

  • 07-17-2008, 5:37 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 204

    Re: Drupal 6 Clean URLs on IIS 7

    I have tried it with IIS 7.0 URL rewrite module and Drupal worked fine with it. You can just import mod_rewrite rewrite rules from Drupal .htaccess file and they should work.

    The actual Drupal installation on IIS 7.0 had some problems though, until I have applied this workaround.

    http://ruslany.net
  • 07-17-2008, 5:58 PM In reply to

    • hellbird
    • Not Ranked
    • Joined on 04-28-2008, 9:49 PM
    • Posts 4

    Re: Drupal 6 Clean URLs on IIS 7

    Hello,

    Thank you for quick answer. Meanwhile I also successfully enabled Clean URLs on Drupal 6. I used IIS7 URL Rewrite module, and I imported rules from IIRF ISAPI Rewrite module (example for Drupal, which is included in the package).


     After that, Clean URLs worked fine, but there was no CSS and no images. I noticed that if I enter full URL to CSS file, I get Sever Error, something about rewrite module. I just added another rule on the top of them all, so that if the wildcard *.* matches with entered URL (files), every mod rewrite rule isn't applied, and after that, Clean URLs are still working fine and also CSS and images are applied.


    Best wishes,
    Marko

  • 09-02-2008, 9:44 PM In reply to

    Re: Drupal 6 Clean URLs on IIS 7

    What about performance? I have seen where other ISAPI modules that add mod-rewrite functionality take a few milliseconds to process each page with clean URLs. That would be a significant impact on a high traffic site.

    Mitch

  • 15 hours, 37 minutes ago In reply to

    • cheeso
    • Top 500 Contributor
    • Joined on 12-10-2002, 3:42 PM
    • Posts 10

    Re: Drupal 6 Clean URLs on IIS 7

    IIRF is pretty fast.  It is not milliseconds.  It is only doing memory moves and copies - much faster than milliseconds per request.  Supports hundreds to thousands of concurrent requests.

    -Cheeso
  • 3 hours, 13 minutes ago In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 204

    Re: Drupal 6 Clean URLs on IIS 7

    In the performance benchmark tests that was done for Microsoft URL rewriter there was no noticeable performance degradation found from using the module with PHP applications.

    http://ruslany.net
    Tags:
Page 1 of 1 (6 items)
Page view counter