Is there a way to use url rewrite with IIS Express on a Windows 10 machine? If I try to install the URL Rewrite 2.0 module via Webplattform installer, I am getting an error. It seems to run only with the non express version.
URL rewrite module is shipped with IIS Express. No need to install any extra thing.
Related
Is there a web server I can embed with an ASP.NET MVC3 application?
The goal is to setup an installer where the user does not need to setup the web application on IIS, etc. The installer will install a web server configure it to listen to some port and host the files from there.
IIS Express could be used for that purpose, they mention in the FAQ that the MSI can be redistributed:
IIS Express FAQ
You can use HttpListener, Here's an example.
As others have mentioned - use IIS Express OR what you can do is install the version of IIS that would normally be on the system. Check out using WiX for installs and items such as this:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-pkgmgr-to-install-IIS-7-td5990722.html
You may be able to find someone on the WiX mailing list that has done just this already.
Note - WiX was written by some Microsoft folks and was actually going to be the installer in VS 2010 but was changed unfortunately.
Is there any equivalent of http://www.iis.net/download/urlrewrite (URL rewrite module 2 for IIS 7) on windows XP IIS 5.1?
IIS 7 cannot be installed on Win XP. So what is the alternative?
If you are going to target IIS 7.+, probably the best thing is to use IIS Express, that way you get the same runtime including URL Rewrite (built-in): http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
I have a Windows Server 2003 and asp.net website running on localhost. I have to install php and mysql, but php installation doesn't work for whatever reason. I was wondering if I could install package such as xampp on windows server to save time and hassle installing in manually (I could not find a tutorial for this). I was wondering though, if it is safe, i.e. what will happen if I go to http://localhost/ - will I get the php or asp website? In general, is it safe to install xampp on windows server 2003? All advice greatly appreciated.
Yeah, it's safe to install both. What you do is bind one to one port and the other to another port, so IIS is port 80 and Apache is port 81 or whatever, http://localhost/ would go to IIS and http://localhost:81/ would go to apache.
Microsoft got a detailed oficial instructionpage for PHP on IIS under h**p://php.iis.net/
You probably got IIS 6 running on that Windows 2003 Server. The following article describes how to run PHP apps
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
If you have no experience with XAMPP or Apache Webserver I wouldn't recommend to install it... especially on a production system.
I'd like to use Zend framework in my server, but it's Windows and I don't know what to do with the Rewrite Engine. In Linux I could use .htaccess but I notice that this doesn't work in Windows-based servers.
What do I do?
If you want to run Apache on your Windows server, .htaccess should work just fine. Otherwise if you're using IIS, you may find what you need here:
PHP 5 and Zend MVC on Windows and IIS
How to deploy my ASP.NET website to IIS7? I'm using Visual Studio 2005. And I don't know where to start.
I tend to take more of a manual approach, but there is a web publish feature built into Visual Studio that should get you going.
Here is some reading you can do on it:
http://www.codeproject.com/KB/aspnet/VSDeploy.aspx
Here's some preliminary steps, a little more manual than some other options, but they are the ones I'm comfortable with:
Obtain access to the server where IIS7 is installed. If you don't have IIS7 installed on a server, install it. If you are not able to get access to this server, you will need to have the administrator of that server set up IIS7.
Create the website in IIS that you want to deploy to, or have the server administrator create an empty website for you to run your website on.
Use the 'publish' feature in Visual Studio to build a deployable version of your site. This is what you will install on IIS7.
Copy paste the website over to the server where IIS7 is installed. You will need to place it in a directory which you can set as the Home Directory for the site.
If you have access to the server, and rights to administer IIS7, set the Home Directory of the site to point at the directory where you copied over your files.
Enable the website, and you should be good to go!
NOTES:
These instructions assume the following:
a) You have some basic knowledge of how to configure IIS7 (or at least access to somebody who does)
b) You have some basic knowledge of how to install IIS7 if it is not installed (or access to somebody who does)
c) You have some basic knowledge on web site publishing from Visual Studio
If you need more instructions on these 3 notes, you may wish to consult the references for IIS7 and Visual Studio.