473,659 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wildcard application maps

Dear Sir,

I would like all files on my application to pass asp.net, so I added
aspnet_isapi.dl l 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
2 1978
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.dl l 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
>>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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3222
by: Generic Usenet Account | last post by:
Here's the requirement that I am trying to satisfy: Handle wildcards in STL such that the wildcard entry is encountered before non-wildcard entries while traversing containers like sets and maps. I have come up with two approaches, one using inheritance and the other using composition. I am unable to decide which one is better. The sample source code follows.
8
25972
by: ChrisBowringGG | last post by:
When you use Application.Quit() on an Excel application, there can still be an instance of Excel running, as seen in Task Manager. You can try following the advice on MSDN: http://support.microsoft.com/kb/Q317109 but this didn't solve the problem for me.
2
2136
by: Ken Yee | last post by:
First a little background: I've written an httphandler to handle wildcard extensions (i.e., I want to handle all URLs that come in rather than just URLs w/ a specific file extension so I can give friendly names to various dynamic web pages). To do this, I've written an httphandler and put it in the web.config for my webapp (stored in the wwwroot\webapp directory). It works great for the most part; I get to handle any URLs below my webapp...
2
2881
by: Jan Kucera | last post by:
Hi, I have virtual MyFolder/* and MyFolder/MySubFolder/* mapped to an httphandler in the web.config file and all works perfectly on the asp.net development server. However on the IIS6/Win2003 I'm getting 404 error, not even the asp.net one, so I guess the IIS is blocking the request. I would uncheck to verify that file exists if it would be for special extension, but this is wildcarded so I don't know what to do... any solution?
0
1411
by: Thomas | last post by:
in .net 1.1 we successfully use a HttpModule to catch 404 / 403.1 html errors. after migrating to .net 2.0, this modules is broken in a very, very strange way. we have defined a wildcard applicatio mapping to the .net 2.0 isapi dll: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll with "check if file exists" disabled. the HttpModule "RedirectMissing" is called upon every request to the
1
3723
by: Lucvdv | last post by:
In my assembly.vb files, I'm using the revision/build wildcard style: <Assembly: AssemblyVersion("3.0.*")> <Assembly: AssemblyFileVersion("3.0.*")> This onkly seems to work in projects that were originally created under VS.Net 2003. The proper version number is generated as expected, assembly version and file version of the compiled executable are both 3.0.xxxx.yyyyy.
3
5414
by: =?Utf-8?B?Um9kbmV5IFZpYW5h?= | last post by:
IIS 6 SQL Injection Sanitation ISAPI Wildcard at http://www.codeplex.com/IIS6SQLInjection I created an ISAPI dll application to prevent SQL Injection attempts by intercepting the HTTP requests and sanitizing both GET and POST variables (or any combination of both) before the request reaches the intended code. This is especially useful for legacy applications not designed to deal with MS SQL Server Injection attempts. Though this...
0
987
by: geronimo.gpe | last post by:
I need to show maps of arcview in a web application with visual Studio .net. The maps need to be actualized automatically if the Data Base is modified. We are using a SQL Database that is used to generate the maps. I don’t know how to do this, how to publish and how the maps can be actualized, some idea or some suggestion to do it? If anybody have a tutorial or document please tell me. I will appreciate it Thank you
0
1397
by: deve8ore | last post by:
Hi.... I'm getting closer to understanding the wildcard function in VBA, however we have a vendor that will supply us many files, and unfortunately will place them in different folders with no uniformity. I'd like to have the capability to find the file based on name, whether it's in a main folder, or one of the subfolders. I.e. - File named "*Net Rebate*" will be in and of the following folders: Main Folder Subfolder 1 ...
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8523
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8626
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.