Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > march 2006 >

iis security : run cgi in localhost without SSL?



jdinares
3/30/2006 3:05:02 AM
hi,
sorry by my bad english in advance.

Configured server with IIS 6 and one Certificate SSL in default web. All run
ok.

I need one .cgi of this web to run locally without SSL :

Configured additional virtual web in the server for access locally without
SSL to the website via http://localhost/...

i'm replicated the virtual directories of the default web in the virtual web.

The .htm pages run ok (http://localhost/pub/page.htm) but .cgi not
(http://localhost/pub/name.cgi)

any idea?

thanks.




David Wang [Msft]
3/30/2006 1:38:05 PM
You don't need an additional website to have content run with/out SSL.

If you have everything working and the CGI works without SSL, just navigate
to the virtual directory containing the .CGI file in IIS manager UI,
right-click property on the .CGI file itself, and change it to not require
SSL.

This blog entry shows exactly how to do this (well, it shows the reverse -
all files are HTTP and one specific is SSL - but the logic is the same, just
values differ):
http://blogs.msdn.com/david.wang/archive/2005/08/13/HOWTO_Use_IIsWebFile_to_fine_grain_control_IIS_behavior.aspx


I think your problem is that you misconfigured the second website. I do not
know how it is configured but it is irrelevant - you do not need the second
website at all.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

[quoted text, click to view]

jdinares
3/31/2006 4:38:02 AM
i'm not write correctly the previous post,

i need the CGI works with SSL for the clients access AND without SSL in the
server locally.

thanks again and nice blog!


[quoted text, click to view]
jdinares
4/3/2006 2:51:03 AM
It already works!
It had forgotten to add the application mapping (.cgi) in the virtual
directories of the secondary website.


[quoted text, click to view]
AddThis Social Bookmark Button