Last post Nov 21, 2012 07:47 PM by pratiksolanki
Oct 18, 2012 11:51 AM|metalhead1984|LINK
I am just wondering is it possible to rewrite an https url so I can loose the .aspx part of the url off the url show in the browser I have it working fine on an http site and the only thing I have different on another site is its https
Oct 18, 2012 02:12 PM|Mythran|LINK
Is your url rewriter handler (or whatever you are using for rewriting the url) configured for the HTTPS protocol or only the HTTP protocol?
Oct 19, 2012 04:20 AM|metalhead1984|LINK
I have put the Intelligencia.UrlRewriter.dll into my bin folder and added these lines into my web.config is there anything else I need to add for https I tried adding <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpsModule, Intelligencia.UrlRewriter"
/> to the httpModules section but got an error saying it couldn't find the module
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" />
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>
Nov 21, 2012 07:47 PM|pratiksolanki|LINK
Rather using 3rd party library which you don't have control. You can easily write your own by using URL Routing method.
(1) Create route handler class to read request using HttpHandler
(2) Create a method to register above class (1) and add url structures to the routing table to the route (Global.ascx)
(3) Call above method on appStart event (Global.ascx)
(4) In your website add friendly urls. When user click on this friendly urls, request read by (1) class and execute original page in the background.
here is the link
If you want source code then let me know will drop you here.