How does IIS call a web application?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > How does IIS call a web application?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How does IIS call a web application?  
drhowarddrfinedrhoward


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 10:54 PM

I've learned a lot but can't connect the dots.

When someone visits www.mysite.com, how do I set up IIS to call my
application so I can dynamically create my index page?

I sort of follow what to do if I had an isapi dll but if, instead, I wanted
to run my own C++ file, or even .asm if I wanted, how do I make IIS
understand to call it when it needs index.html?

Is this only possible using isapi calls to send to the client browser?

Does it work differently in IIS5 vs IIS6?







[ Post a follow-up to this message ]



    Re: How does IIS call a web application?  
Richard Gutery


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 10:54 PM

I'm not sure that I fully understand what you are asking, so here goes.

You could set the Default Page in IIS,
You could create a Host Header for your App,
You Can load your DLL (if that's what your asking) using Configuration -
Mapping for the app (this assumes that you've created the app in IIS).

???

"drhowarddrfinedrhoward" <drhowarddrfine@earthlink.net> wrote in message
news:1Enyd.40435$nG3.12552@fe05.lga...
> I've learned a lot but can't connect the dots.
>
> When someone visits www.mysite.com, how do I set up IIS to call my
> application so I can dynamically create my index page?
>
> I sort of follow what to do if I had an isapi dll but if, instead, I
> wanted to run my own C++ file, or even .asm if I wanted, how do I make IIS
> understand to call it when it needs index.html?
>
> Is this only possible using isapi calls to send to the client browser?
>
> Does it work differently in IIS5 vs IIS6?
>







[ Post a follow-up to this message ]



    Re: How does IIS call a web application?  
drhowarddrfinedrhoward


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 07:47 AM

Maybe I should re-word this.  When IIS receives a request for the home page
of my website, it looks in the default folder wwwroot for something.

If I click on "properties" of this default root folder, I can go to the tab
marked "home directory" and change the "Application Settings" using the
"Configuration" button.

In this application configuration box I can change the mappings.  What
confuses or concerns me is I see a lot of asp and .net settings for
extensions but nothing for .htm or .html.  If my main page is "index.html"
how would that be set?

If ALL my web pages were dynamically created by a C++ program, how do I
configure the mapping so this program is called whenver my website is
accessed?

How do I post back to the client browser?  Can this only be done through
isapi or are there other methods to do this?

Or am I just in the wrong ballpark?







[ Post a follow-up to this message ]



    Re: How does IIS call a web application?  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 07:47 AM

The mappings you see are for ISAPI Extensions. When a request comes in for,
say, .asp file processing is handed over to the mapped ISAPI extension
(asp.dll). ASP.dll then processes the page (this allows the server-side code
to be processed). Plain HTML pages don't really have any server-side
processing. They are just read off the server's hard disk and sent to the
client - this is why you see no mapping for plain .html files.

For what you want to do, you will need to use an ISAPI filter (all requests)
or ISAPI extension (if you just want requests for set file extensions to be
processed).

Cheers
Ken


"drhowarddrfinedrhoward" <drhowarddrfine@earthlink.net> wrote in message
news:LPryd.19856$KP7.2657@fe04.lga...
> Maybe I should re-word this.  When IIS receives a request for the home
> page of my website, it looks in the default folder wwwroot for something.
>
> If I click on "properties" of this default root folder, I can go to the
> tab marked "home directory" and change the "Application Settings" using
> the "Configuration" button.
>
> In this application configuration box I can change the mappings.  What
> confuses or concerns me is I see a lot of asp and .net settings for
> extensions but nothing for .htm or .html.  If my main page is "index.html"
> how would that be set?
>
> If ALL my web pages were dynamically created by a C++ program, how do I
> configure the mapping so this program is called whenver my website is
> accessed?
>
> How do I post back to the client browser?  Can this only be done through
> isapi or are there other methods to do this?
>
> Or am I just in the wrong ballpark?
>







[ Post a follow-up to this message ]



    Re: How does IIS call a web application?  
David Wang [Msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-24-04 11:32 PM

Do you need to dynamically create an index page file, or do you need an
index page that returns dynamic content?

The former does not make sense because it can be implemented via the latter.
The latter is trivial.  Just write your ASP page (which is basically dynamic
content) and assign it to be the DefaultDoc in IIS so that it is run as the
index page.

The rest of your questions do not make sense.  Please describe what you want
to do, not how you think it should be implemented.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"drhowarddrfinedrhoward" <drhowarddrfine@earthlink.net> wrote in message
news:LPryd.19856$KP7.2657@fe04.lga...
Maybe I should re-word this.  When IIS receives a request for the home page
of my website, it looks in the default folder wwwroot for something.

If I click on "properties" of this default root folder, I can go to the tab
marked "home directory" and change the "Application Settings" using the
"Configuration" button.

In this application configuration box I can change the mappings.  What
confuses or concerns me is I see a lot of asp and .net settings for
extensions but nothing for .htm or .html.  If my main page is "index.html"
how would that be set?

If ALL my web pages were dynamically created by a C++ program, how do I
configure the mapping so this program is called whenver my website is
accessed?

How do I post back to the client browser?  Can this only be done through
isapi or are there other methods to do this?

Or am I just in the wrong ballpark?








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:10 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register