httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] SCGI for specific extensions
Date Wed, 05 May 2010 15:07:18 GMT
> This doesn't work well, because I don't know everything I will need to
> exclude.

>          <locationmatch
> (\.js|\.gif|\.jpg|\.ico|\.css|\.swf|\.png|\.tiff|\.jpeg|\.json|\.zip|\.tar\.gz|\.mp3|\.doc)+$>
>              SCGIHandler Off

Can't help re: SCGI, but you get out of the blacklist scheme with e.g.:

<LocationMatch ^ >
SCGIHandler off
</LocationMatch>

<LocationMatch \.(scgi|otherextensionyouwant|foo|bar)$>
SCGIHandler on
</LocationMatch>


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message