Menu

Tree [r7] /
 History

HTTPS access


File Date Author Commit
 App_Code 2009-11-05 glenarma [r5]
 API.asmx 2009-11-05 glenarma [r2] Quick update to add namespacing.
 Default.aspx 2009-11-05 glenarma [r6]
 Default.aspx.cs 2009-11-05 glenarma [r6]
 MissingUrl.aspx 2009-11-05 glenarma [r6]
 MissingUrl.aspx.cs 2009-11-05 glenarma [r6]
 README.txt 2009-11-05 glenarma [r7]
 Redirection.aspx 2009-11-05 glenarma [r1] First beta version. Missing HttpModule / .htacc...
 Redirection.aspx.cs 2009-11-05 glenarma [r5]
 Schema_SqlServer.sql 2009-11-05 glenarma [r1] First beta version. Missing HttpModule / .htacc...
 web.config 2009-11-05 glenarma [r2] Quick update to add namespacing.

Read Me

TO START URL REWRITING ON IIS

1. Use ISAPIRewrite

If you have IsapiRewrite installed, use the following code to start URL rewriting for the web site that will host Short URL.

RewriteRule / /default\.aspx [I,L]
RewriteRule /((\w|/|\s|:|\?|\&|=|%|-|_)*) /redirection\.aspx?page=$1 [I,L]

2. IIS CUSTOM ERRORS

If you do not have IsapiRewrite installed, open up IIS, right-click your website and choose properties, choose the Custom Errors tab, and edit the 404 entry so that it goes to the URL /Redirection.aspx