wildcard application maps

Discussion in 'ASP .Net' started by guoqi zheng, Jun 8, 2006.

  1. guoqi zheng

    guoqi zheng Guest

    Dear Sir,

    I would like all files on my application to pass asp.net, so I added
    aspnet_isapi.dll to the Wildcard application maps. After that, many things
    changed. I used to be able to visit my site via link such as:

    http://www.xxxxxx.eu/abc/

    IIS will map that url to http://www.xxxxxx.eu/abc/default.aspx automatically.
    However after I added the wildcard application maps. above URL returns a
    404 error?

    Any idea how should I solve this problem?

    regards,

    Guoqi Zheng
    http://www.ureader.com
     
    guoqi zheng, Jun 8, 2006
    #1
    1. Advertising

  2. to solve that problem remove Wildcard application maps.
    -------------------------------------------------------------
    answer this question to yourself:
    What ASP.NET should do with the file jpg file?

    It has bunch of binary information and you will be lucky if ASP.NET will not
    blow up from trying to understand what is written there.

    All ASP.NET can understand is about 50-60 English words (if, for, else....).
    Why would you want to process jpg file through ASP.NET dll
    -----------------------------------------------------------------

    Now tell us what you really want and we will be able help you to achieve
    that.


    George



    "guoqi zheng" <> wrote in message
    news:...
    > Dear Sir,
    >
    > I would like all files on my application to pass asp.net, so I added
    > aspnet_isapi.dll to the Wildcard application maps. After that, many things
    > changed. I used to be able to visit my site via link such as:
    >
    > http://www.xxxxxx.eu/abc/
    >
    > IIS will map that url to http://www.xxxxxx.eu/abc/default.aspx
    > automatically.
    > However after I added the wildcard application maps. above URL returns a
    > 404 error?
    >
    > Any idea how should I solve this problem?
    >
    > regards,
    >
    > Guoqi Zheng
    > http://www.ureader.com
     
    George Ter-Saakov, Jun 8, 2006
    #2
    1. Advertising

  3. guoqi zheng

    guoqi zheng Guest

    >>answer this question to yourself:
    >>What ASP.NET should do with the file jpg file?


    I need to use http module to rewrite the jpg file path. For example, I might
    have a file such as:
    http://www.ureader.com/xxxx/345223423243/abc.jpg.

    I have to remove "xxxx/345223423243/" because it is added by the browser. I
    have the image as <img src="abc.jpg"> on that page and that page url is
    http://www.ureader.com/xxxx/345223423243/somepage.aspx.

    "xxxx/345223423243/" is our own cookie object there and http://www.ureader.
    com/xxxx/345223423243/ is defined in the html header <base href> in order to
    make all relative link contains that cookie url as well.

    Any idea how can I solve this problem?

    regards,

    Guoqi Zheng
    http://www.ureader.com
     
    guoqi zheng, Jun 9, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tiziana Loporchio MCSD.NET

    Wildcard application Mappings disable default documents

    Tiziana Loporchio MCSD.NET, Oct 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    397
    Tiziana Loporchio MCSD.NET
    Oct 12, 2005
  2. Jari Kujansuu
    Replies:
    1
    Views:
    4,915
    Juha Laiho
    Jun 2, 2005
  3. Simon Elliott
    Replies:
    4
    Views:
    1,166
    Simon Elliott
    Mar 10, 2005
  4. Marcus
    Replies:
    2
    Views:
    591
    Marcus
    Dec 9, 2005
  5. Replies:
    7
    Views:
    840
Loading...

Share This Page