Connecting Tech Pros Worldwide Forums | Help | Site Map

create cgi-bin ?

Michael Tissington
Guest
 
Posts: n/a
#1: Jun 27 '08
Using VS 2008 ... I have created a new folder cgi-bin in my project and then
created a c# console exe.

How do I set the permissions on the folder so that the exe executes.

I know how to do this on the real IIS but not on the development iis.

Any ideas please ?


Steven Cheng [MSFT]
Guest
 
Posts: n/a
#2: Jun 27 '08

re: create cgi-bin ?


Hi Michael,

As for the let the console exe run as CGI, do you mean you want the exe to
run as CGI service in Visual Studio test server? If so, I'm afraid this is
not supported. Visual Studio test server is written as a winform program
which can only process ASP.NET requests. If you've written a CGI program,
you need to deploy it into IIS server for test.

#Configuring CGI Applications (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/b
c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Quote:
>From: "Michael Tissington" <mtissington@newsgroup.nospam>
>Subject: create cgi-bin ?
>Date: Sun, 20 Apr 2008 21:04:57 -0700
Quote:
>
>Using VS 2008 ... I have created a new folder cgi-bin in my project and
then
Quote:
>created a c# console exe.
>
>How do I set the permissions on the folder so that the exe executes.
>
>I know how to do this on the real IIS but not on the development iis.
>
>Any ideas please ?
>
>
Michael Tissington
Guest
 
Posts: n/a
#3: Jun 27 '08

re: create cgi-bin ?


Thanks - how do I do this in IIS 7 ?


"Steven Cheng [MSFT]" <stcheng@online.microsoft.comwrote in message
news:D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl...
Quote:
Hi Michael,
>
As for the let the console exe run as CGI, do you mean you want the exe to
run as CGI service in Visual Studio test server? If so, I'm afraid this is
not supported. Visual Studio test server is written as a winform program
which can only process ASP.NET requests. If you've written a CGI program,
you need to deploy it into IIS server for test.
>
#Configuring CGI Applications (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/b
c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true
>
Sincerely,
>
Steven Cheng
>
Microsoft MSDN Online Support Lead
>
>
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
>
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
>
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
--------------------
Quote:
>>From: "Michael Tissington" <mtissington@newsgroup.nospam>
>>Subject: create cgi-bin ?
>>Date: Sun, 20 Apr 2008 21:04:57 -0700
>
Quote:
>>
>>Using VS 2008 ... I have created a new folder cgi-bin in my project and
then
Quote:
>>created a c# console exe.
>>
>>How do I set the permissions on the folder so that the exe executes.
>>
>>I know how to do this on the real IIS but not on the development iis.
>>
>>Any ideas please ?
>>
>>
>
Steven Cheng [MSFT]
Guest
 
Posts: n/a
#4: Jun 27 '08

re: create cgi-bin ?


Hi Michael,

Thanks for your reply.

For IIS 7, I think the exe console application won't change much, what will
change is the configuration process since IIS7 has different configuration
model and user interface. Here is a blog entry mentioned this:

#How to run CGI applications on IIS7
http://geekswithblogs.net/Lance/arch...cgi-applicatio
ns-on-iis7.aspx

BTW, it seems IIS7 will add support for write more components(such as ISAPI
) in the future.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Quote:
>From: "Michael Tissington" <mtissington@newsgroup.nospam>
>References: <e4J2dT2oIHA.5836@TK2MSFTNGP04.phx.gbl>
<D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl>
Quote:
>In-Reply-To: <D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl>
>Subject: Re: create cgi-bin ?
>Date: Mon, 21 Apr 2008 07:00:53 -0700
Quote:
>Thanks - how do I do this in IIS 7 ?
>
>
>"Steven Cheng [MSFT]" <stcheng@online.microsoft.comwrote in message
>news:D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl...
Quote:
>Hi Michael,
>>
>As for the let the console exe run as CGI, do you mean you want the exe
to
Quote:
Quote:
>run as CGI service in Visual Studio test server? If so, I'm afraid this
is
Quote:
Quote:
>not supported. Visual Studio test server is written as a winform program
>which can only process ASP.NET requests. If you've written a CGI
program,
Quote:
Quote:
>you need to deploy it into IIS server for test.
>>
>#Configuring CGI Applications (IIS 6.0)
>>
http://www.microsoft.com/technet/pro.../Library/IIS/b
Quote:
Quote:
>c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true
>>
>Sincerely,
>>
>Steven Cheng
>>
>Microsoft MSDN Online Support Lead
>>
>>
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we can improve the support we provide to you.
Please
Quote:
Quote:
>feel free to let my manager know what you think of the level of service
>provided. You can send feedback directly to my manager at:
>msdnmg@microsoft.com.
>>
>================================================= =
>Get notification to my posts through email? Please refer to
>>
http://msdn.microsoft.com/subscripti...ult.aspx#notif
Quote:
Quote:
>ications.
>>
>Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
Quote:
Quote:
>where an initial response from the community or a Microsoft Support
>Engineer within 1 business day is acceptable. Please note that each
follow
Quote:
Quote:
>up response may take approximately 2 business days as the support
>professional working with you may need further investigation to reach the
>most efficient resolution. The offering is not appropriate for situations
>that require urgent, real-time or phone-based interactions or complex
>project analysis and dump analysis issues. Issues of this nature are best
>handled working with a dedicated Microsoft Support Engineer by contacting
>Microsoft Customer Support Services (CSS) at
>http://msdn.microsoft.com/subscripti...t/default.aspx.
>================================================= =
>This posting is provided "AS IS" with no warranties, and confers no
>rights.
>>
>>
>--------------------
Quote:
>>>From: "Michael Tissington" <mtissington@newsgroup.nospam>
>>>Subject: create cgi-bin ?
>>>Date: Sun, 20 Apr 2008 21:04:57 -0700
>>
Quote:
>>>
>>>Using VS 2008 ... I have created a new folder cgi-bin in my project and
>then
Quote:
>>>created a c# console exe.
>>>
>>>How do I set the permissions on the folder so that the exe executes.
>>>
>>>I know how to do this on the real IIS but not on the development iis.
>>>
>>>Any ideas please ?
>>>
>>>
>>
>
>
Closed Thread