URL substitution question

Author Message
Paul Harkness 09/19/2007 03:37 pm
I am connecting to a server which adds a session id as part of the server name, for example:

"member.server.com/index.html" becomes "sqz3wjzsg.member.server.com/page1.html" after log in. This means that each time I use OE pro the directory tree changes as the prefix changes each time, and the files I have already downloaded are missed and re-downloaded. So I am trying to use URL substituution to strip off the session part as follows:

URL: http://*.member.server.com/*
Replace: **member.server.com/*
With: member.server.com/*

However when I use the test button to check this rule the URL stays the same. Am I doing something wrong?

Thanks
Oleg Chernavin 09/19/2007 05:11 pm
You need to keep http:// in the Replace/With rule. So just make it this way:

URL:
http://*.member.server.com/*
Replace:
http://**member.server.com/*
With:
http://member.server.com/*

and test on:
http://sqz3wjzsg.member.server.com/page1.html

Best regards,
Oleg Chernavin
MP Staff
Paul Harkness 09/21/2007 05:43 am
> You need to keep http:// in the Replace/With rule. So just make it this way:
> > URL:
> http://*.member.server.com/*
> Replace:
> http://**member.server.com/*
> With:
> http://member.server.com/*
> > and test on:
> http://sqz3wjzsg.member.server.com/page1.html
> > Best regards,
> Oleg Chernavin
> MP Staff

That did the trick, thanks
Oleg Chernavin 09/21/2007 05:57 am
You are welcome!

Oleg.