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=33880>.
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=33880

           Summary: Only URIs that map to files can be Executed
           Product: Apache mod_aspdotnet
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: mod_aspdotnet
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I do all my URI rewriting and some custom URI handling inside my ASP.Net
Application. My site is composed of URIs that do not map to the file system so I
automatically get a 404 Error and the URI is never past to the ASP.Net Engine.

The following should be removed or modified from mod_aspdotnet.cpp (Line
403-406) as ASP.Net has its own error handling and it seems to me Apache can
pre-determine file or URI validity before passing the request:

    if (r->finfo.filetype != APR_REG) {
        ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, r, 
                "mod_aspdotnet: File not found or unable to stat: %s",
                r->filename);
        return HTTP_NOT_FOUND;
    }

After commenting out and recompiling most of my application works fine now.

-- 
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.

Reply via email to