httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <RDNel...@Mail.Donaldson.com>
Subject RE: [users@httpd] Force-response for specific file types
Date Tue, 01 Feb 2005 20:56:25 GMT
Erik:

> How can I force-response for specific file types, ex *.mp3?
> 
> I want to do something like 
> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 
> force-response-1.0
> But for some file types only..

I've never done this, but try something like this:

--- SNIP ---
SetEnvIf Request_URI "\.mp3$" nokeepalive downgrade-1.0 force-response-1.0
--- SNIP ---

See:

http://httpd.apache.org/docs-2.0/mod/mod_setenvif.html#setenvif

Like I said, I've never tried this, so post back if it works.

 ~ Robert


---------------------------------------------------------------------
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