httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marat Khalili <>
Subject [users@httpd] WebDAV reverse proxy SLOW
Date Wed, 01 Jul 2015 10:51:55 GMT
Dear all,

I'm configuring a reverse proxy with configuration provided below, for 
Apache 2.4 for Windows (I'm trying to bypass Windows authentication 
dialogs this way). It works, but file browsing is very slow: listing 
three files in a folder takes several seconds, dir /b/s comes line after 
line, and doesn't improve. In contrast, same WebDAV resource connected 
directly or via NetDrive utility is quite responsive. I suspect Apache 
does not reuse connections or similar problems, but can't find more 
parameters to tune. Please advise.


With Best Regards,
Marat Khalili


Define SRVROOT "/Apache24"
ServerRoot "${SRVROOT}"


LoadModule authz_core_module modules/
LoadModule headers_module /Apache24/modules/
LoadModule proxy_http_module /Apache24/modules/
LoadModule proxy_module /Apache24/modules/
LoadModule socache_shmcb_module modules/
LoadModule ssl_module modules/

ServerName localhost

<Directory />
     AllowOverride none
     Require all denied

ErrorLog "logs/error.log"

LogLevel warn

SSLSessionCache        "shmcb:${SRVROOT}/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

<VirtualHost localhost:80>
     SSLProxyEngine On
     SSLProxyProtocol All -SSLv2 -SSLv3
     SSLProxyVerify require
     SSLProxyCACertificateFile /Apache24/conf/ssl/ca.crt
     SSLProxyCheckPeerCN on
     SSLProxyCheckPeerExpire on

     # this is required to ensure that HTTP headers sent to the
     # WebDAV server are "rewritten" from "http://..." to "https://..."
     RequestHeader edit Destination ^http: https: early
     RequestHeader set Authorization "Basic DEADBEEFDEADBEEFDEADBEEF"

     # the essential proxy part
     <Location />
         ProxyPass max=8 flushpackets=on 
keepalive=on connectiontimeout=300 timeout=300
         ProxyPassReverse /
         # some WebDAV clients (such as ordinary browsers) are unhappy 
with the
         # cookies sent out by the internal server, so we "rewrite" the 
host and
         # the used path to the correct, external representation
         ProxyPassReverseCookieDomain localhost
         ProxyPassReverseCookiePath / /


View raw message