How can I enable "URL Rewrite" Module in IIS 8.5 in Server 2012? - windows-server-2012

I have windows server 2012 and I have installed the IIS 8.5 but I could not see the URL rewrite module. How can I enable or install?

Download it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
or if you already have Web Platform Installer on your machine you can install it from there.

Worth mentioning: you should download the x64 version!
From the main download page (https://www.iis.net/downloads/microsoft/url-rewrite) click "additional downloads" (under the main download button) and download the x64 version (because for some reason - the default download version is x86)

First, install the URL Rewrite from a download or from the Web Platform Installer. Second, restart IIS. And, finally, close IIS and open again. The last step worked for me.

Thought I'd give a full answer combining some of the possible intricacies required for completeness.
Check if you have 32-bit or 64-bit IIS installed:
Go to IIS Manager → Application Pools, choose the appropriate app pool then Advanced Settings.
Check the setting "Enable 32-bit Applications". If that's true, that means the worker process is forced to run in 32-bit. If the
setting is false, then the app pool is running in 64-bit mode.
You can also open up Task Manager and check w3wp.exe. If it's showing as w3wp*32.exe then it's 32-bit.
Download the appropriate version here: https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads.
Install it.
Close and reopen IIS Manager to ensure the URL Rewrite module appears.

Related

ColdFusion 11 on Windows 10 with IIS is not working

I installed CF 11 on Windows 10 Professional using IIS option as shown below. But when I go to IIS I don't see CFIDE folder there:
I thought the CF installation process would have created a CFIDE folder in IIS with its subfolder Administrator that points to the Administrator URL. But IIS did have any such folder. If I remember in Windows 7, installing CF 11 with IIS option automatically configure Administrator website in IIS - at least that what I recall I had done in Win7.
So I manually added a virtual directory in IIS and named it CFIDE with physical path as C:\ColdFusion11\cfusion\wwwroot\CFIDE that is a correct path on my system. But when I go to http://localhost/CFIDE/administrator/ or go to All Programs-->Adobe-->Administrator in Windows, I get the following error. Please help:
CF11 was initially not supported for windows 10. One of the recent update of CF11 started supporting Windows 10. You would need to install ColdFusion and Select Built in Web server while installing ColdFusion. Once its installed, apply the latest update from CF admin and re-configure the IIS connector using Web server Configuration tool.
OR
Apply the latest update manually:
http://coldfusionx.blogspot.in/2017/07/how-to-install-coldfusion-updates.html
And re-configure the IIS connector.

How to configure ARR under IIS 10 without ARR icon in IIS mgmt console

after installing ARR module and URL rewrite in IIS 10 (Windows Server 2016) the icon for ARR configuration don't appear. (s. screenshot)
Of course, I tried already several restarts of the machine.
Any help will be appreciated.
Greets.
Perhaps something off with your install? When I installed ARR on IIS 10 the icon came up right away without any restarts.
Did you stop the IIS service first?
net stop was /y
Did you install the IIS 10 ARR dependencies first?
According to this page (see "Install Instructions"):
ARR is dependent on several components:
URL Rewrite
External Cache module
In a nutshell, this worked for me:
net stop was /y
Install the URL Rewrite module. It should install
without any problem.
Install the External Cache module, it will complain when
installed on IIS 10 and demand only IIS 7. This can be handled by
updating the IIS version registry key HKLM:\Software\Microsoft\InetStp\MajorVersion from 10 to 7, then do the
install, then reverting it back to 10.
Finally, install the latest ARR module (v3.0 currently).
net start was /y
net start w3svc /y
The issue is actually with the Web Platform installer. When you add ARR 3.0 and click install it will say that it installed the ARR and it prerequisites however I discovered that was not the case. It did install URL Rewrite and it did install External cache plugins but it did not complete (or correctly at least) the ARR install.
The solution for me was to go back to WPI, select the ARR 3.0 to Add it again and run the install again.
Then close the IIS Manager, run iisreset (I did it just as a precaution) and open IIS Manager again. You should see the Application Request Routing Cache icon under IIS section within your server node (Features tab -> IIS section).
Now, this is misleading because it is not only cache behind this icon, it is also the proxy feature. Open the feature (double click) and you should see cache settings. The proxy feature however, is located on the right hand side under Actions - Proxy - Server Proxy Settings. Click that link and there you now have an option to enable the (reverse) proxy feature of ARR.
HTH

Deploying Java Servlet applications on Windows with IIS

I have develop JSP-Servlert application (i.e. WAR file) which running perfectly on tomcat server. Now I want to run same web application on IIS without tomcat.
Currently I am following this url: http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
But while configuring Java hosting package as per mentioned in the above article, it is giving error to download jetty 8. Other softwares from the same package is getting download and install successfully.
When I checked the logs, I found that it is downloading the jetty from the URL: "http://dist.codehaus.org/jetty/jetty-hightide-8.1.7/jetty-hightide-8.1.7.v20120910.zip" and all the codehaus services has shutdown.
Can anyone help me to install the jetty into IIS or any other option to deploy the WAR into IIS?
Thanks,
SameerK
Definately the easiest option, at the time of writing, is to use Microsoft's HttpPlatformHandler that you can install on IIS 8+ (Windows 8 or Windows Server 2012 at least).
You basically need to:
Install IIS on your machine
Install JDK
Install Jetty on Windows (just download zip and unpack it)
Create WAR file
Copy WAR file to your Jetty's installation folder under webapps directory.
Set up IIS web site with web.config as described here.
That's it. You can view your site using http://localhost:your_iis_defined_port/your_war_name. If you rename your WAR to root.war then 'your_war_name' will not be necessary.
I have prepared a step by step guide on how to do that with more explanation.
After hours of trying i managed it by adding a ReverseProxy Rule, this is fairly easy and done super fast.
I had these dependencies installed already: AAR and HttpProxyHandler

Unable to install iis manager on windows 8.1

I get an error while trying to install IIS manager from "Turn on off windows features" on a windows 8 machine. Just before trying to install this I install Visual Studio community online and rebooted my machine. Visual Studio works fine.
I also made sure all updates are installed on my machine and also rebooted and tried installing IIS manager.
The error that I get is "The function attempted to use a name that is reserved for use by another transaction"
Thanks
Ranjith
Try to turn off your antivirus before install IIS.
I had the same problem and spent hours trying to find out the root cause. Tried to disable anti virus and other options as discussed in forums on the internet.
Here is how i resolved the problem.
Open up msconfig -> go to boot tab -> select Safe boot (Minimal) -> Apply -> Okay
Your machine should restart in safe mode and you should be able to successfully install IIS from the "Turn Windows Feature On/Off" section as described by others.
After the installation is complete, run msconfig again to unselected Safe boot so that you log in to the normal desktop environment on restart. Enjoy!
Just now i also faced that problem and this is how fixed the problem.
The reason can be another server which running on your pc, is using the same port as IIS. (e.g: 80 or 8080).
According to my solution, I started the wampserver. then click on wamp icon on the task bar. then opened the httpd.conf file from Apache.
find (ctrl+F) the "Listen 80" and replace it to "Listen 8080" or any other. save it.
restart your pc and try to install the IIS manager again.
hope it will works!! Good luck.

Microsoft Web Platform Installer 4.0 fail

Because my hard drive is nearly full, I find I don't use the (full)IIS7 and uninstall it to release hard drive space in my vista computer.
However, after that, I can't do many download installations through 'Microsoft Web Platform Installer 4.0", for example, download and install webMatrix 2.
I install the IIS8 express, I still can't do many download installation through MWPI 4.0, even I can't uninstall the MWPI from my computer. thanks advanced
I talked to the guys on the WebPI team, and they confirmed there is a bug. WebPI installs a plugin into inetmgr that occasionally doesn't get cleaned up after uninstalling IIS. THis causes WebPI a lot of trouble. Give this a try:
Install Full IIS
Uninstall existing WebPI
Uninstall Full IIS
Re-install WebPI
After doing these steps, everything should work. Sorry for the confusion.

Resources