DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25917>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25917

mod_rewrite should be capable of sending back a HTTP response of 404 (NOT FOUND)

           Summary: mod_rewrite should be capable of sending back a HTTP
                    response of 404 (NOT FOUND)
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


With mod_rewrite you can send back a whole series of HTTP responses: 302 (MOVED
TEMPORARILY), 403 (FORBIDDEN), 410 (GONE), ...

But an important one is missing: 404 (NOT FOUND).

Why is this important? Let's assume the following situation: You create two new
web resources that you want to be accessible via the URLs
<http://foo.example/bar/> (first resource) and
<http://foo.example/bar/something> (second resource), but no other URLs.

At the moment the first resource is also available via
<http://foo.example/bar/index.html> (if your DirectoryIndex is set to
index.html) and there is no (simple) way to completely remove (that means
answering to a request with a HTTP response of 404) this unwanted URL. A simple
enhancement of mod_rewrite would solve this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to