I have an application that handles virtual directory requests:

e.g.     http://www.example.com/part

     where 'part' does not really exist.

It does it like this:

    <LocationMatch "/part">
            SetHandler perl-script
        PerlOptions +GlobalRequest
        PerlResponseHandler myPartHandler::myPartHandler
    </LocationMatch>

But other real directories exist under the DocumentRoot and other virtual
directories (in addition to "part") are being added all the time.

I cannot continue to add LocationMatch handlers for all of these future
wildcard directories.

Can a LocationMatch "wildcard" trigger on a normal 404 or is there a better
way to do this?

In psudo-code:

      unless (Real Directory) {myPartHandler}


Once again, thank you for sharing your wisdom.

-W

Reply via email to