How to rewrite URL in Web.config - .htaccess

My URL is http://merzent.com/love/index.php?u=48
I want to change it like http://merzent.com/love/48
I can do this using htaccess but my app is running in Windows Azure. So, I think I need to do this using web.config and I'm new for this. Any help would be greatly appreciated.
Thanks

Related

Is the rewriting of speaking URLs in 9LTS supposed to work out of the box on IIS?

We are testing an upgrade from Typo3 8LTS to 9LTS and speaking URLs seem to work in typo3 itself, but the server returns a 404. Is the rewriting of URLs supposed to work out of the box on IIS? Or do we need to add some extra configuration manually, e.g. to the Web.config?
We tried the official documentation but there is only some information about an Apache server. And google was of no help either.
In sysext/install/Resources/Private/FolderStructureTemplateFiles/root-web-config you can find a demo IIS configuration. I assume this part is missing in your TYPO3 installation.

Azure Wrong URL

I have set up a website in azure that was working fine at
docketsweep.azurewebsites.net
but now it seems to load the wrong website. it is instead leading me to docketsnap.azurewebsites.net which of course is a different website but loads the correct URL
Does anyone who is savvy with azure know whats going on?
Here are some options for you.
Turn off one site and try accessing the other one. And then try it the other way around.
Delete one site or both sites and recreate them and redeploy your code.
Contact Azure support:
https://azure.microsoft.com/en-us/support/plans/

Express - retrieving .asp files using res.sendFile downloads the file rather than displaying it in the browser. Is there a solution?

Title.
I'm wondering if it's even possible to host .asp files on a Node Express server, given that they're proprietary. I've looked into a solution to this problem to no avail, so I was wondering if or how it can be done.
The purpose of this is for migrating a site previously hosted on Windows IIS to my new Express server. I'm unsure as to the details of .asp and was just looking for some help shedding light on the situation.
Thanks in advance.

Plesk ignores .htaccess file

I am very new to URL re-writting and I am using Plesk which is Windows based web server and hence I cant use Apache's mod_Rewrite.. can anyone tell me steps for this to happen?
Try ISAPI Rewrite for IIS. It supports mod_rewrite rules of Apache and it is supported by Plesk.
Maybe too late for OP but it might be useful for anyone coming across this. If URL Rewrite is installed in IIS then you can follow this guide to translate htaccess into web.config.
It worked with my case, running PHP website in a shared hosting with Plesk and IIS under ISAPI

seo friendly urls not recognised by IIS

I have a php based site hosted on a IIS server. URL like http://host.net/t.php works but
without the php extension does not work. This site was working properly on a LINUX server previously. ISAPI rewrite Life version was installed on the IIS server. But the problem still persists.
IIS versions prior to 7.x doesn't support extension-less URLs without some ISAPI filter.
This is the reason ;)
EDIT:
Read this blog post:
http://thebackshop.posterous.com/extensionless-urls-with-sitecore-using-the-he
Was it useful for you? Good luck! :)
The problem was resolved by installing IIRF Rewrite 3 module.

Resources