Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > wildcard application maps

Reply
Thread Tools

wildcard application maps

 
 
guoqi zheng
Guest
Posts: n/a
 
      06-08-2006
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
 
Reply With Quote
 
 
 
 
George Ter-Saakov
Guest
Posts: n/a
 
      06-08-2006
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



 
Reply With Quote
 
 
 
 
guoqi zheng
Guest
Posts: n/a
 
      06-09-2006
>>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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wildcard String Comparisons: Set Pattern to a Wildcard Source chaoticcranium@gmail.com Python 7 10-05-2010 09:26 PM
MSN maps vs. Google maps Ralph Fox NZ Computing 0 07-30-2007 10:30 AM
STL: Map of maps possible, but no multi-map of maps? Workarounds? Marcus C++ 2 12-09-2005 06:34 AM
Wildcard application Mappings disable default documents Tiziana Loporchio MCSD.NET ASP .Net 0 10-12-2005 03:49 PM
std::maps within std::maps -- optimisation Simon Elliott C++ 4 03-10-2005 10:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57