Web Connection
masking the wc.dll in URLs
Gravatar is a globally recognized avatar based on your email address. masking the wc.dll in URLs
  Hermann S
  All
  May 23, 2023 @ 03:22pm

I have a client requirement where I'm supposed to get rid of the wc.dll? in my URLs, so that email spam-filters etc. will not filter out the emails which contain those links. For example, instead of

https://www.myserver.com/wc2/wc.dll?MAINTAIN~ABC

I want to have a URL like

https://www.myserver.com/2/MAINTAIN~ABC

and then have the Apache Web Server re-direct that with some intelligent httpd.conf or .htaccess file so that it still hits the wc.dll in /wc2/ BUT I want to program it so that the OLD URLs WITH wc.dll also still KEEP WORKING. I just don't seem to be smart enough to figure that httpd.config or .htaccess out.

Thank You so much in advance for any advice! Hermann

Gravatar is a globally recognized avatar based on your email address. re: masking the wc.dll in URLs
  Rick Strahl
  Hermann S
  May 23, 2023 @ 06:20pm

You shouldn't be calling wc.dll directly anyway. Use a script map.

You can create a script map in IIS and map it to wc.dll, then rename all the URLs and that'll work pretty seamlessly.

Why you should use Scriptmaps instead of wc.dll directly

Plus you shouldn't be using wc.dll anymore and use the .NET module instead. wc.dll has been obsoleted for 10+ years now. Still works, but no longer supported.

+++ Rick ---

© 1996-2024