httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: Default Handler/Action
Date Fri, 23 Aug 2002 18:49:34 GMT
Don Mahurin wrote:

> Now, additionally, I want to associate files without extensions to use
> myhandler. How do I do this?
> AddHandler myhandler ""  does not have any effect.
> There appears to be no "DefaultHandler" or "DefaultAction" directive.
> SetHandler sets it for every or no file extension. This is not what I
> want.
> DefaultType would work if there was a AddTypeHandler directive that tied
> a Type to an Action.
> Any ideas?

Try this:

<FilesMatch ^[a-zA-Z0-9]*$>
SetHandler myhandler

This should send any filename consisting only of letters and numbers (ie 
no ".") to your handler.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message