« Previous Next »

Thread: change setting in IIS6.0 for static content

Last post 10-10-2008 2:34 PM by murtaza_t. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 10-05-2008, 5:50 AM

    • dpeeth
    • Not Ranked
    • Joined on 08-29-2008, 7:26 AM
    • Posts 4

    change setting in IIS6.0 for static content

    Have applied ISAPI filter to forward all request to Sun One Web Server.

    It works perfectly in IIS5, but in IIS6.0, it forwards the .jsp pages, but tries to pick up the images and stylesheet (.jpg/.css) from local path i.e IIS6.0 .

    Is there any setting in IIS6.0 that sets the static content path?

     

     

  • 10-05-2008, 7:23 AM In reply to

    Re: change setting in IIS6.0 for static content

    Hello,

    This has to be a setting for your ISAPI filter. It seems that it only forwards requests for certain extensions. There is no setting in IIS 6 for configuring a "static content path".

    I think you need to tell us more about how you have set up this forwarding, because i think the problem is there, not in IIS.

  • 10-05-2008, 1:56 PM In reply to

    • dpeeth
    • Not Ranked
    • Joined on 08-29-2008, 7:26 AM
    • Posts 4

    Re: change setting in IIS6.0 for static content

     Hi ,

    Have configured th sunone-passthrough dll, following the documentation @

    http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWadoc/SONEAPPSVRADMIN/agplugin.html

     Ref - Configuring IIS to Use the Web Server Plugin.
    Set the property 
    passthrough=/  , to pass all requests to Sun ONE Application Server.

     Unable to understand why it works fine in IIS5, ie forwards all request  but in IIS 6, when loading a page containing .jsp and .gif/.css, the jsp content is loaded, but the image and stylesheet are not loaded.


    Thanks

     

     

  • 10-05-2008, 4:01 PM In reply to

    Re: change setting in IIS6.0 for static content

    The steps seems to be okay for IIS 6, so I am not sure what the problem is right now. Does the Sun One Application Server have any logs you can look at, and verify that the .jsp request gets to the server, but not .gif requests?

    I don't think the problem is with IIS, since IIS will hand over all requests to the ISAPI filter, it will not exclude requests for certain files. Do you have any other ISAPI filters loaded (at the website and/or global level) that executes before or after this ISAPI filter?

  • 10-06-2008, 7:28 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,174
    • IIS MVPs

    Re: change setting in IIS6.0 for static content

    ... and since this is a 3rd-party product from Sun, you would probably get better support on this directly from them ...

  • 10-06-2008, 1:49 PM In reply to

    • dpeeth
    • Not Ranked
    • Joined on 08-29-2008, 7:26 AM
    • Posts 4

    Re: change setting in IIS6.0 for static content

     Asp.net filter was present at websites level. Removed it, still the same.

    Tried a simple html file, the web server logs show http status code 200, same in IIS6.0 log too.So the response is received back in IIS, but still the page is not loaded! no exceptions in the log 

    So would there be any setting in IIS6 that i am missing out?

  • 10-06-2008, 3:37 PM In reply to

    Re: change setting in IIS6.0 for static content

    As Tom says, i think you need to get support from Sun. We don't know the behavior of this ISAPI filter to be able to troubleshoot it.

    To answer your question, no, i don't think there is any setting in IIS that you forget to configure. Considering that it works for .jsp, but no other extension, and that Sun One Web Server is supposed to execute .jsp files, it tells me that something is wrong with the third-party component. It would just not make sense for IIS to do the right thing with .jsp files, but no other file, since .jsp is in no way special to IIS.

  • 10-10-2008, 1:42 PM In reply to

    Re: change setting in IIS6.0 for static content

     Is you Application DLL Allowed in Web Service Extensions and is it loaded in ISAPI_Filters with the green up arrow in your websites settings..?

  • 10-10-2008, 2:15 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,174
    • IIS MVPs

    Re: change setting in IIS6.0 for static content

    murtaza_t:
     Is you Application DLL Allowed in Web Service Extensions and is it loaded in ISAPI_Filters with the green up arrow in your websites settings..?
    Since jsp is working, the answer to these questions must be "Yes" ...

  • 10-10-2008, 2:34 PM In reply to

    Re: change setting in IIS6.0 for static content

     

    tomkmvp:

    Since jsp is working, the answer to these questions must be "Yes" ...

     Ahh.. I skipped his first post which has this information.. :s

    This only leads to either the configuration of the filter or  may be is not compatible with IIS 6. And both these answers could be found with Sun. You were right Tom.

Page 1 of 1 (10 items)
Microsoft Communities