http://www.domain.dom/~user ...URLs to their "HTML home" directory.
Download the file mapper.zip 23,220bytes which contains compiled dll as well as full source code.
To install the program copy the file mapper.dll to a safe place and configure the webserver to use it. For IIS3.0 this is done via the registry editor editing the key
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters]
"Filter DLLs"="c:\mapper\mapper.dll"
If you have more than one filter you should list them in this key comma separated.
c:\mapper\mapper.dll is only an example location, you are free to palce the
executable dll so long as long the web server anonymous user has appropriate permission
to run it.
If you use II4.0 you can configure filters via the Microsoft Management Console. Altough IIS4.0 makes it possible to configure a filter for virtual directories as well as for the whole webserver define mapper.dll for the whole webserver.
For IIS3.0 and IIS4.0 after installing the mapper filter start the registry editor and edit the keys:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\iisfilters\user home directory mapper 1.0]
"mapping"="c:/users/%s/html/%s"
"debug"="c:/mapper.log"
"default"="index.html,default.htm"
http://localhost/~verhas/mydir/index.htmlwill be mapped to
c:/users/verhas/html/mydir/index.html