Problems with Re-Writing URLs

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions
User avatar
Posts: 10
Joined: 17 Oct 2014, 10:20
Location: Castle Pines North, CO

Problems with Re-Writing URLs

17 Oct 2014, 10:49

I have been using the file for quite a while and was using htaccess. I changed to .htaccess

Now when I go to the home page I get this error:
IISPassword
The page cannot be displayed
There is a problem with the page youare trying to reach and it cannot be displayed. It is most likely that configuration files for this url are corrupted.
Please try the following:
◾Click the Refresh button, or try again later.
◾Open the home page, and then look for links to the information you want.
◾If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the home page.
HTTP Error 500
IISPassword for Internet Information Services


Before I changed it, I could get the main site come up every few times by refreshing it. It has been so long that I have used this and I need a little (probably a lot :) ) of help.

In my .htaccess file:
Code: Select all
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]


RewriteRule /retail-merchant-account /retail-merchant-account.asp [I,U]
RewriteRule /about /about.asp [I,U]
RewriteRule /authorize /authorize.asp [I,U]
RewriteRule /authorize.net-gateway /authorize.net-gateway.asp [I,U]
RewriteRule /confirm /confirm.asp [I,U]
RewriteRule /contact /contact.asp [I,U]
RewriteRule /dedicated-partner-support /dedicated-partner-support.asp [I,U]
RewriteRule /e-commerce /e-commerce.asp [I,U]
RewriteRule /e-commerce-fees /e-commerce-fees.asp [I,U]
RewriteRule /e-commerce-rates /e-commerce-rates.asp [I,U]
RewriteRule /first-data-merchant /first-data-merchant.asp [I,U]
RewriteRule /free-credit-card-processing-terminals /free-credit-card-processing-terminals.asp [I,U]
RewriteRule /free-internet-payment-gateway /free-internet-payment-gateway.asp [I,U]

RewriteRule /faqs/international_merchants.asp /faqs/faqs.asp?topicid=12 [I,U]
RewriteRule /faqs/merchants_accounts.asp /faqs/faqs.asp?topicid=8 [I,U]   
RewriteRule /faqs/electronic_payment_gateway.asp /faqs/faqs.asp?topicid=13 [I,U]
RewriteRule /faqs/third_party_processing.asp /faqs/faqs.asp?topicid=11 [I,U]
RewriteRule /faqs/offshore_merchant.asp /faqs/faqs.asp?topicid=10 [I,U]
RewriteRule /faqs/high_risk_merchant.asp /faqs/faqs.asp?topicid=9 [I,U]
RewriteRule /cart/store/linkpoint_aio_terminal.asp /cart/store/viewItem.asp?idProduct=3083 [I,U]
RewriteRule /cart/store/eclipse_terminal.asp /cart/store/viewItem.asp?idProduct=3084 [I,U]
RewriteRule /cart/store/pos_equipment.com /cart/store/listCategoriesAndProducts.asp?idCategory=28 [I,U]

RewriteRule /retail-merchant-account /retail-merchant-account.asp [I,U]
RewriteRule /internet/merchant-account /internet/merchant-account.asp [I,U]
RewriteRule /internet/merchant-account/prices /internet/merchant-account/prices.asp [I,U]
RewriteRule /internet/payment-gateways /internet/payment-gateways/default.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-secure /internet/payment-gateway/linkpoint/default.asp [I,U]
RewriteRule /internet/payment-gateway/verisign-payflow-link /internet/payment-gateway/verisign/payflow_link.asp [I,U]
RewriteRule /internet/payment-gateway/verisign-payflow-pro /internet/payment-gateway/verisign/payflow_pro.asp [I,U]
RewriteRule /internet/payment-gateway/2000-charge /internet/payment-gateway/2000charge/default.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net /internet/payment-gateway/authorize.net/default.asp [I,U]
RewriteRule /internet/shopping-cart /internet/shopping-cart.asp [I,U]
RewriteRule /internet/shop-hosting /internet/shop-hosting.asp [I,U]
RewriteRule /internet/virtual-checks /internet/virtual-checks.asp [I,U]
RewriteRule /internet/payment-gateways/fraud-protection /internet/fraud_protection.asp [I,U]

RewriteRule /international-merchants /international/default.asp [I,U]
RewriteRule /international-merchants/prices /international/prices.asp [I,U]

RewriteRule /merchant-account/internet-application /merchant_account/internet_application.asp

RewriteRule /internet/payment-gateway/authorize-net/auto-recurring-billing /internet/payment-gateway/authorize.net/auto_recurring_billing.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/connection-methods /internet/payment-gateway/authorize.net/connection_methods.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/eCheck /internet/payment-gateway/authorize.net/echeck.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/fraud-detection /internet/payment-gateway/authorize.net/fraud_detection.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/free-customer-support /internet/payment-gateway/authorize.net/free_customer_support.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/SalesBoost /internet/payment-gateway/authorize.net/salesboost.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/merchant-interface /internet/payment-gateway/authorize.net/merchant_interface.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/security /internet/payment-gateway/authorize.net/security.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/cardholder-authentication-programs /internet/payment-gateway/authorize.net/vbv_msc.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/virtual-terminal /internet/payment-gateway/authorize.net/virtual_terminal.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/gateway-signup /internet/payment-gateway/authorize.net/gateway_signup.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/web-merchant /internet/payment-gateway/authorize.net/web.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/retail-merchant /internet/payment-gateway/authorize.net/retail.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/mail-phone-order-merchant /internet/payment-gateway/authorize.net/moto.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/mobile-merchant /internet/payment-gateway/authorize.net/mobile.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/point-of-sale /internet/payment-gateway/authorize.net/pos.asp [I,U]

RewriteRule /internet/payment-gateway/linkpoint-central /internet/payment-gateway/linkpoint/virtual_terminal.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-connect /internet/payment-gateway/linkpoint/connect.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-API /internet/payment-gateway/linkpoint/api.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-virtual-checks /internet/payment-gateway/linkpoint/virtual_check.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-linkshield /internet/payment-gateway/linkpoint/linkshield.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-VbV-MSC /internet/payment-gateway/linkpoint/vbv_msc.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint/prices /internet/payment-gateway/linkpoint/prices.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-b2b /internet/payment-gateway/linkpoint/b2b.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint/recurring-billing /internet/payment-gateway/linkpoint/recurring_billing.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-wrappers /internet/payment-gateway/linkpoint/wrappers.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-MOTO /internet/payment-gateway/linkpoint/moto.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-ecommerce /internet/payment-gateway/linkpoint/ecommerce.asp [I,U]

And in the httpd.ini, there is:
Code: Select all
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]

RewriteRule  /faqs/internet_moto.asp /faqs/faqs.asp?topicid=15 [I,U]
RewriteRule /faqs/retail.asp /faqs/faqs.asp?topicid=14 [I,U]
RewriteRule /faqs/international_merchants.asp /faqs/faqs.asp?topicid=12 [I,U]
RewriteRule /faqs/merchants_accounts.asp /faqs/faqs.asp?topicid=8 [I,U]   
RewriteRule /faqs/electronic_payment_gateway.asp /faqs/faqs.asp?topicid=13 [I,U]
RewriteRule /faqs/third_party_processing.asp /faqs/faqs.asp?topicid=11 [I,U]
RewriteRule /faqs/offshore_merchant.asp /faqs/faqs.asp?topicid=10 [I,U]
RewriteRule /faqs/high_risk_merchant.asp /faqs/faqs.asp?topicid=9 [I,U]
RewriteRule /cart/store/linkpoint_aio_terminal.asp /cart/store/viewItem.asp?idProduct=3083 [I,U]
RewriteRule /cart/store/eclipse_terminal.asp /cart/store/viewItem.asp?idProduct=3084 [I,U]
RewriteRule /cart/store/pos_equipment.com /cart/store/listCategoriesAndProducts.asp?idCategory=28 [I,U]


RewriteRule /internet/merchant-account /internet/merchant-account.asp [I,U]
RewriteRule /internet/merchant-account/prices /internet/merchant-account/prices.asp [I,U]
RewriteRule /internet/payment-gateways /internet/payment-gateways/default.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-secure /internet/payment-gateway/linkpoint/default.asp [I,U]
RewriteRule /internet/payment-gateway/verisign-payflow-link /internet/payment-gateway/verisign/payflow_link.asp [I,U]
RewriteRule /internet/payment-gateway/verisign-payflow-pro /internet/payment-gateway/verisign/payflow_pro.asp [I,U]
RewriteRule /internet/payment-gateway/2000-charge /internet/payment-gateway/2000charge/default.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net /internet/payment-gateway/authorize.net/default.asp [I,U]
RewriteRule /internet/shopping-cart /internet/shopping-cart.asp [I,U]
RewriteRule /internet/shop-hosting /internet/shop-hosting.asp [I,U]
RewriteRule /internet/virtual-checks /internet/virtual-checks.asp [I,U]
RewriteRule /internet/payment-gateways/fraud-protection /internet/fraud_protection.asp [I,U]

RewriteRule /international-merchants /international/default.asp [I,U]
RewriteRule /international-merchants/prices /international/prices.asp [I,U]

RewriteRule /merchant-account/internet-application /merchant_account/internet_application.asp

RewriteRule /internet/payment-gateway/authorize-net/auto-recurring-billing /internet/payment-gateway/authorize.net/auto_recurring_billing.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/connection-methods /internet/payment-gateway/authorize.net/connection_methods.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/eCheck /internet/payment-gateway/authorize.net/echeck.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/fraud-detection /internet/payment-gateway/authorize.net/fraud_detection.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/free-customer-support /internet/payment-gateway/authorize.net/free_customer_support.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/SalesBoost /internet/payment-gateway/authorize.net/salesboost.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/merchant-interface /internet/payment-gateway/authorize.net/merchant_interface.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/security /internet/payment-gateway/authorize.net/security.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/cardholder-authentication-programs /internet/payment-gateway/authorize.net/vbv_msc.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/virtual-terminal /internet/payment-gateway/authorize.net/virtual_terminal.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/gateway-signup /internet/payment-gateway/authorize.net/gateway_signup.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/web-merchant /internet/payment-gateway/authorize.net/web.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/retail-merchant /internet/payment-gateway/authorize.net/retail.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/mail-phone-order-merchant /internet/payment-gateway/authorize.net/moto.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/mobile-merchant /internet/payment-gateway/authorize.net/mobile.asp [I,U]
RewriteRule /internet/payment-gateway/authorize-net/point-of-sale /internet/payment-gateway/authorize.net/pos.asp [I,U]

RewriteRule /internet/payment-gateway/linkpoint-central /internet/payment-gateway/linkpoint/virtual_terminal.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-connect /internet/payment-gateway/linkpoint/connect.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-API /internet/payment-gateway/linkpoint/api.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-virtual-checks /internet/payment-gateway/linkpoint/virtual_check.asp [I,U]
RewriteRule /internet/payment-gateways/linkpoint/virtual-check /internet/payment-gateway/linkpoint/virtual_check.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-linkshield /internet/payment-gateway/linkpoint/linkshield.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-VbV-MSC /internet/payment-gateway/linkpoint/vbv_msc.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint/prices /internet/payment-gateway/linkpoint/prices.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-b2b /internet/payment-gateway/linkpoint/b2b.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint/recurring-billing /internet/payment-gateway/linkpoint/recurring_billing.asp [I,U]
#RewriteRule /internet/payment-gateway/linkpoint-wrappers /internet/payment-gateway/linkpoint/wrappers.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-MOTO /internet/payment-gateway/linkpoint/moto.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-ecommerce /internet/payment-gateway/linkpoint/ecommerce.asp [I,U]
RewriteRule /internet/payment-gateway/linkpoint-wrappers /internet/payment-gateway/linkpoint/wrapper.asp [I,U]
RewriteRule ^/news/articles/(.*) /viewarticle.asp?ID=$1 [I,U]

I have tried a few things but I have been unsuccessful.

I hope pasting all the code is fine with y'all - I know when I was answering questions, usually the more, the better.

Thank you!

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Problems with Re-Writing URLs

20 Oct 2014, 05:24

Hello, Corey

This is a known issue: ISAPI_Rewrite 3 and IISPassword are both using configuration files called .htaccess, so when there are two of them, it creates confusion and errors.
To avoid that, we have AccessFilename directive to give a distinct name to ISAPI_Rewrite config files, e.g.

AccessFileName htaccess.txt

User avatar
Posts: 1
Joined: 25 Mar 2017, 05:57
Location: Kerala

Best Re-Writing URLs

25 Mar 2017, 06:07

Problems with rewriting the topic is a very good thing .URLs are the most important thing with a person it is the best among the all other techniques.Re-writing URLs is a very nice topic and it is good for the people who where focusing it.

User avatar
Posts: 1
Joined: 01 Jun 2017, 04:36

Re: Problems with Re-Writing URLs

01 Jun 2017, 04:43

Problems with Re-Writing URLs is very good information for me. but this mu site URL http://www.assignmentglobe.com/ Check and tell me is this good?

Return to ISAPI_Rewrite 2.x

Who is online

Users browsing this forum: No registered users and 2 guests