wildcard application maps

G

guoqi zheng

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
 
G

George Ter-Saakov

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
 
G

guoqi zheng

answer this question to yourself:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top