Quick Nav:  Online Store   |   Login | Register

A Rule Hangs up the Application Pool

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Will Strohl
<50 Posts
Posts:48


04/02/2008 3:48 PM  

Using v2.02.04

I had before added a rule to rewite the home page URL to reflect only the domain name.  Sometime in the last day or two, the rule disappeared.  So, I decided to add it back in.  When I did, I would click the "Save Configuration and Exit" button and the site would just hang.  However, it would hang for ALL page requests.

If I deleted the new rule and restarted IIS, the site would once again respond just fine.  I was able to duplicate this three times (unfortunately).  As I do not afford myself much sleep these days, I am sure that I wasn't paying attention, and did something wrong. 

Here is the replace rule that hung up the server:

Look For:  (.*)Home/tabid/36/Default\.aspx
Replace With:  $1

Does anyone know why this happened?

Host Account
<100 Posts
Posts:82


04/02/2008 4:13 PM  

That rule would grab everything in the page up to that place where it found the Home/tabid/36/Default\.aspx part, and it is greedy, so it would cause a lot of backtraking in the Regex engine.

A better way to do that one would be to look for the exact text you want to remove and replace it with nothing, or include the slash in front as part of the search and replace with just the slash.

Search For:
/Home/tabid/36/Default\.aspx

Replace with:
/

Will Strohl
<50 Posts
Posts:48


04/02/2008 4:15 PM  
I knew I was missing something that time. Thanks a bunch. Sometimes another set of eyes helps.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > A Rule Hangs up the Application Pool



ActiveForums 3.7
Powered by: Snapsis Software