Web Africa - Home
Register your Domain
www
4 Notices

ISAPI Rewrite > Isapi Rewrite - Web Africa > Support KnowledgeBase

KnowledgeBase

Please Enable Javascript
KB Home > ISAPI Rewrite > Isapi Rewrite

What is ISAPI Rewrite?

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache"s mod_Rewrite, but is designed specifically for Microsoft"s Internet Information Server (IIS).

How do I start using ISAPI_Rewrite with my domain?

The ISAPI_Rewrite filter is installed on your domain by default. You simply need to upload your httpd.ini file to the /wwwroot folder of your website.

You can create your httpd.ini file using notepad.

What is the current version of ISAPI Rewrite on your servers?

Current version of ISAPI Rewrite installed is FULL VERSION 2.8

Where can I find documentation on using ISAPI Rewrite?

Documentation on using ISAPI Rewrite can be found here

http://www.isapirewrite.com/docs/

Some Examples and Tips:

ISAPI Rewrite Tips - 301 Moved Permanently Redirect

Rewrite Tip 1 - Redirect Sub-Domain to Domain

For those of you utilizing an ISAPI filter for URI rewriting, here is a quick tip on setting up a 301 Moved Permanently rule for http://example.com/ to http://www.example.com/.

RewriteCond Host: ^example\.com
RewriteRule (.*) http\://www\.example\.com$1 [I,RP]

Just drop the above rule into your local httpd.ini file (ctrl + click to grab the above code).

Be sure to always check your Server Headers to verify that the correct HTTP Status Codes are being returned.

Rewrite Tip 2 - Redirect Old Page to New Page

Here is an example of redirecting an old-page.asp to a new-page.asp...

RewriteRule /old-page.asp http://www.example.com/new-page.asp [I,O,RP,L]
Just drop the above code in your local httpd.ini file (ctrl + click to grab the above code).

This document is still under review and will be updated throughout the week


Mail | Print


Additional Info
General
Article Number: 211
Views: 480
Created By: Aziz Arnold
Date Created: 14/04/2008
Last reviewed by: Aziz Arnold
Last updated: 20/05/2008


Comments
No Comments...



Article Rating
Average Rating: 5 (1 Votes)
Rate this article:
5 (Great!)
4
3
2
1 (Awful!)


Client Log In
User
Pass
Contact
0861-555-222
24 hours a day / 7 days a week
Live Assistance
News
WA acquires Frogfoot consumers MailFire: Email Marketing Launched! Hosting Overage Traffic Price Reduction
Testimonials
Everything from support to new services etc. is done ASAP and even my non techie back ground does not get in the way. This is how business should be and I will highly recommend your services.
- Simon
Privacy PolicyTerms & ConditionsDisclaimerRefund PolicyAcceptable Usage PolicyEmail this page to a friendPrint
ISPA Member Copyright Web Africa 1996 - 2008. All rights reserved.
Site Map | ADSL | Web Hosting | Windows Hosting | Linux Hosting | Reseller | Reseller Hosting | Domain Registration | Dedicated Servers