You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jose Adriano Baltieri <ja...@unimep.br> on 2006/08/11 14:33:58 UTC

[users@httpd] Beginner's question : enablesendfile on Windows only for some disk drives

I'm running 2.0.58 on Windows XP PRO and I'd like to turn on 
enablesendfile only for some local drives. So, I need something like :

| <Directory "drives C, D and E">
EnableSendfile on
</Directory>

How do I do that ? I guess I need some sort of RegEx.


Thanks in advance for your support !
|

-- 
Obrigado,
------------------------------------------------------------------------------
                Jose Adriano Baltieri - Analista de Sistemas
                DTI - CENTRO - UNIMEP - Universidade Metodista de Piracicaba
                PIRACICABA - SP - Brasil - Fone : (19) 3124-1858
------------------------------------------------------------------------------


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


Re: [users@httpd] Beginner's question : enablesendfile on Windows only for some disk drives

Posted by Jose Adriano Baltieri <ja...@unimep.br>.
Steve Swift wrote:
> This should work for you:
>
> <DirectoryMatch "[CDE]:/"]
> EnableSendfile on
> </DirectoryMatch>
>
Thanks Mr Swift. I think you meant :

<DirectoryMatch "[ABCDEFGPQ]:/]">
EnableSendfile on
</DirectoryMatch>

Thanks again ! It's done.

> -- 
> Steve Swift
> http://www.swiftys.org.uk 


-- 
Obrigado,
------------------------------------------------------------------------------
                Jose Adriano Baltieri - Analista de Sistemas
                DTI - CENTRO - UNIMEP - Universidade Metodista de Piracicaba
                PIRACICABA - SP - Brasil - Fone : (19) 3124-1858
------------------------------------------------------------------------------


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


Re: [users@httpd] Beginner's question : enablesendfile on Windows only for some disk drives

Posted by Steve Swift <st...@gmail.com>.
This should work for you:

<DirectoryMatch "[CDE]:/"]
EnableSendfile on
</DirectoryMatch>

-- 
Steve Swift
http://www.swiftys.org.uk