Re: Font Problem

André Warnier <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Michel Jansen wrote:
> Hi There,
> 
> I have a probem using webfonts in Firefox. It won't let me use webfonts 
> from another url than the original. Since i am working with a 
> perlhandler that "catches" all requests from / and up, i would like to 
> know of someone knows how i can bypass my handler for a specific 
> directory above / like for example /fonts/. It would be nice if the 
> handler can be told to handle all requests bot not for /fonts/ and pass 
> this request to apache....
> 
Have you tried returning Apache2::Const::DECLINED from your handler if the URL is "/fonts/*" ?

See here :
http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlResponseHandler
(and check RUN_FIRST)

As far as I understand, if your handler returns DECLINED, and there are no more explicit 
handlers defined, then Apache should serve the request with it's default handler, which 
should be what you want.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.