You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cli-dev@httpd.apache.org by bu...@apache.org on 2006/03/17 07:01:14 UTC
DO NOT REPLY [Bug 39007] New: - mod_aspdotnet can't find WebResource.axd
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39007
Summary: mod_aspdotnet can't find WebResource.axd
Product: Apache mod_aspdotnet
Version: 2.0.0
Platform: PC
OS/Version: All
Status: NEW
Keywords: FAQ
Severity: minor
Priority: P2
Component: mod_aspdotnet
AssignedTo: cli-dev@httpd.apache.org
ReportedBy: dovid@hotmail.com
When using server (ASPDOTNET 2.0) genrated controls (TreeView in particular),
Apache can't find WebResource.axd which is a phantom file used in the callback
functionailty of the 2.0 platform. Server generated graphics and javascript does
not work properly in the resulting pages. (i.e. the little node icons don't
appear and the JavaScript Debugger in IE reports all kinds of Script errors)
I did find a fix, that was to create an empty file in the Application Directory
and call it WebResource.axd as the DotNet Platform doesn't really read the file
at all. After that, DotNet 2.0 ran perfectly with Apache 2.0.55 And
Mod_AspDotNet 2.0.
Example:
Supposing in my httpd.conf I have the following lines to map a folder as an ASP App:
## Begin HTTPD.CONF
AspNetMount /app "C:/HTML/app"
Alias /app "C:/HTML/app"
## END HTTPD.CONF
I then make a new file in the folder "C:\HTML\app" and call it "WebResource.axd".
I hope this isn't a waste of your time as I was googling for hours and could not
find a fix for this problem.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 39007] - mod_aspdotnet can't find WebResource.axd
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39007
------- Additional Comments From picaune@hotmail.com 2006-03-25 17:12 -------
WebResource.axd is one of the ASP.NET standard request handlers, which gets
called instead of the actual file; the actual file does not need to be
present. However, as stated in bug 33880, mod_aspdotnet makes sure that all
files exist before shunting the call to the ASP.NET engine. As you saw, adding
an empty file WebResource.axd resolved the problem.
When the patch for 33880 is rolled into the binary, this problem can also be
fixed by using "AspNet on" or "AspNet +virtual".
It would be nicer and safer though if there was another patch on top of that
to deal with the standard handlers (trace.axd, WebResource.axd) with no
changes, so if Mr. Rowe doesn't mind I'm not marking this as a dupe but as a
dependancy.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 39007] - mod_aspdotnet can't find WebResource.axd
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39007
picaune@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |33880
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 39007] - mod_aspdotnet can't find WebResource.axd
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39007
------- Additional Comments From wrowe@apache.org 2006-03-25 20:21 -------
"...to deal with the standard handlers (trace.axd, WebResource.axd)"
where does the definition of 'standard' end?
Presuming you want to -generally- go with file-must-exist logic (not use the
+virtual option), then we need to list out -all- of these extensions.
One obvious Apache solution (not so obvious if one is coming from traditional
ASP.NET platforms) is the config fragment...
<Files "*.axd">
AspNet +virtual
</Files>
which -should- cause all requests to somepage.axd to be routed through the
virtual engine without a corresponding file. Please test and help refine
how we can secure 'anticipated' virutal resources.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.