iis-6

Whats the best way to securely publish a site post build?

六月ゝ 毕业季﹏ 提交于 2019-12-21 13:10:46
问题 So, in your experience, whats the best way? Is there a secure way that's also scriptable/triggerable in a build automation tool? Edit: I should mention this is windows/.net and I'll be deploying to iis6 回答1: For some projects I use Capistrano to push out to live. It is built on top of ruby and makes deploy script writing super easy and uses ssh. On other projects I have a tiny deploy app that uses bash to do an svn export to a temporary directory and then rsync it over to the live server. You

Whats the best way to securely publish a site post build?

こ雲淡風輕ζ 提交于 2019-12-21 13:10:11
问题 So, in your experience, whats the best way? Is there a secure way that's also scriptable/triggerable in a build automation tool? Edit: I should mention this is windows/.net and I'll be deploying to iis6 回答1: For some projects I use Capistrano to push out to live. It is built on top of ruby and makes deploy script writing super easy and uses ssh. On other projects I have a tiny deploy app that uses bash to do an svn export to a temporary directory and then rsync it over to the live server. You

Hosting Mercurial with IIS 6

守給你的承諾、 提交于 2019-12-21 07:31:17
问题 I'm trying to set up Mercurial repositories to be hosted by IIS under Windows Server 2003. Following this post I installed Python 2.5.4.4 and Mercurial 1.3, set up virtual dir, extracted library.zip and created hgwebdir.config. However, when I trying to open the http://hostname/hg/hgwebdir.cgi I got an error “The specified CGI application misbehaved by not returning a complete set of HTTP headers.” I did all by best: Checked IIS mappings to both .py and .cgi extensions. I even tried to use

Hosting Mercurial with IIS 6

这一生的挚爱 提交于 2019-12-21 07:30:06
问题 I'm trying to set up Mercurial repositories to be hosted by IIS under Windows Server 2003. Following this post I installed Python 2.5.4.4 and Mercurial 1.3, set up virtual dir, extracted library.zip and created hgwebdir.config. However, when I trying to open the http://hostname/hg/hgwebdir.cgi I got an error “The specified CGI application misbehaved by not returning a complete set of HTTP headers.” I did all by best: Checked IIS mappings to both .py and .cgi extensions. I even tried to use

How to add custom HTTP Headers to IIS from the command line

孤街浪徒 提交于 2019-12-21 06:35:10
问题 We have an ASP.NET application and I need to add a custom HTTP header to IIS for all the developers on the team, so I want to add a command in the NANT script that will add the HTTP Header when the build script is run. Is it even possible to do this from the command line. I've been looking up the documentation on cscript adsutil.vbs but I can't find anything specfic to this issue. 回答1: Ok solution found. Clearly I wasn't looking hard enough, this is the command line to set the Custom HTTP

How to add custom HTTP Headers to IIS from the command line

心不动则不痛 提交于 2019-12-21 06:34:14
问题 We have an ASP.NET application and I need to add a custom HTTP header to IIS for all the developers on the team, so I want to add a command in the NANT script that will add the HTTP Header when the build script is run. Is it even possible to do this from the command line. I've been looking up the documentation on cscript adsutil.vbs but I can't find anything specfic to this issue. 回答1: Ok solution found. Clearly I wasn't looking hard enough, this is the command line to set the Custom HTTP

Executing an EXE from ASP.NET

拜拜、爱过 提交于 2019-12-21 05:49:10
问题 I'd like to execute an exe from an ASP.NET MVC application. Yes I understand that inherent risks of doing this, but unfortunately I really need to do it. The EXE is a GUI application, but the arguments I pass it force it to run "silently" where it generates some data into a zip file and then quits. The code to execute the EXE is as follows -- it runs fine in VS2008 on my development box -- but when I test against the actual server (Server 2003 - IIS6), it fails: ProcessStartInfo psi = new

Configuring IIS 6.0 to execute cgi(.exe)

橙三吉。 提交于 2019-12-21 02:46:21
问题 I already create a virtual directory (cgi-bin) with permission : Scripts and Executable... When I test : http://localhost/cgi-bin/mapserv.exe, I got 404 error, The page cannot be found Am I supposed to Add a EXTENSION mapping to .exe files ? Which executable ? Thanks! 回答1: I solved that: Go to Web Service Extensions in the IIS service manager Select Add a new web service extension. On the required files tab, add C:\YourMapserverInstalldir\mapserv.exe Set it to allow Thanks anyway... 回答2: Yes,

Can't get ServiceStack to work in IIS6 with HTTPS

家住魔仙堡 提交于 2019-12-21 02:02:07
问题 I'm having a problem getting ServiceStack to work with HTTPS in IIS6 and I can't seem to find any documentation on setting this up. Currently I have an endpoint setup like so - http://example.com/api.ashx. When I browse to this, i get the useful ServiceStack generated page which explains the APIs available at http://example.com/api.ashx/metadata. When i browse to https://example.com/api.ashx (notice https) i instead get this error message - Server Error in '/' Application. The resource cannot

wcf wsHttpBinding and disabling anonymous access

不羁岁月 提交于 2019-12-20 16:25:14
问题 http://blogs.msdn.com/drnick/archive/2007/03/23/preventing-anonymous-access.aspx Can someone clarify whether it is possible to use wsHttpBinding in WCF and disable anonymous access in IIS without transport (ssl) or message security being required? 回答1: you are right, afaik in the scenario you describe wsHttpBinding requires us to use the internal WCF security stack. So what you would typically do is leave anonymous access enabled create a serviceBehavior with <serviceAuthorization