Proxy Shortcuts

Proxy Shortcuts SearchSearch
Author Message
Marcus
New member
Username: Marcus1060

Post Number: 1
Registered: 08-2009
Posted on Wednesday, August 19, 2009 - 02:34 am:   

How would one setup proxy shortcuts (things like proxy:homepage which takes to the homepage, or proxy:search, etc) in NowWAP?

Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1154
Registered: 08-2008
Posted on Wednesday, August 19, 2009 - 03:27 pm:   

Hi Marcus,

There is a URL rewrite facility which will match against the start of a URL to rewrite it.

NowWAP will look for a file named URLREWRITE.TXT in its program directory. This file can contain a list of URLs that should be remapped ... for example, the following would be valid:

proxy:homepage=http://mypage/home
http://homepage/=http://mypage/home
http://homepage=http://mypage/home

I use the bottom two examples to show a quirk regarding how this facility works.

The matching evaluates the entries in sequence. You may have an issue with entries coming with or without a trailing "/", and you don't want to end up doubling it up.

--
Des
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: