By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 2,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

wildcard application maps

P: n/a
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
Jun 8 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <no@sorry.com> wrote in message
news:54******************************@ureader.com. ..
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

Jun 8 '06 #2

P: n/a
>>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
Jun 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.