Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 21, 2012 11:47 PM by pratiksolanki
Oct 18, 2012 03:51 PM|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 06:12 PM|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 08:20 AM|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 11:47 PM|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.