Posts

Showing posts from July, 2013

URL Aliasing using SAP Web Dispatcher

The URLs that you have to send to your customers may be long and ugly. SAP Web Dispatcher provides a way to alias the URL to something simple by using action files. Action files are declared in the web dispatcher using icm/HTTP/mod_0 icm/HTTP/mod_0 = PREFIX=/,FILE=/path-to/action_file.txt Assuming the url is http://<host>:<wd-port>/the-big-ugly-url-that-I-dont-want-to-expose and the alias you wish to use is http://<host>:<wd-port>/customername-1-alias Create action_file.txt with the following content RegIRewriteUrl ^/customername-1-alias(.*) /the-big-ugly-url-that-I-dont-want-to-expose [qsreplace] RegIRewriteUrl indicates rewrite method is called ^/customername-1-alias(.*) is a regular expression. ^ indicates beginning with and (.*) assigns the rest of the expression to a variable $1. You can use mutiple variables as input arguments [qsreplace] option indicates that the original query string  will be replaced by the new query string Therefore when

OS/DB Migration - CMD. STR, TOC, EXT, R3load, DDLDBS.TPL and more

Image
With increasing need to improve performance or reduce costs or vanishing support for operating systems/databases it becomes inevitable to migrate to a better OS or DB. We feel take a quick look at the primary ingredients of the tools for OS/DB migration handled by R3SETUP. Tools - R3load, R3ldctl and R3szchk R3ldctl creates STRucture files, TemPLate files by reading the technical settings for table/indexes in SAP data dictionary. R3szchk calculates the database size object sizes (EXTent files) for the target system based on the STR files created by R3ldctl. The EXT and STR files can be later split into smaller groups. The most crucial tool R3load is responsible for unloading and loading data from the database. R3load uses the files created by R3ldctl and R3szchk and dumps the data into compressed binary format as .001, .002 .. files. It uses cmd files to achieve the task. If the cmd files are not present, it creates on its own. Files Command files*.cmd  are created i

Chrome extension to password protect bookmarks

Image
Hush is a useful extension that allows you to save bookmarks behind a password of your choosing. The bookmarks are stored using industry-standard AES encryption which can be decrypted using the password that you set. You can have multiple sets of bookmarks, each with its own key. It only operates in incognito mode for security reasons.