Hi. I'm tearing my hair out over an SSLRequire directive that doesn't seem to be working. Can anyone help?

The directive is actually quite simple:

   # Require SSL over non-obvious port 81 for SVN access
   SSLRequire %{SERVER_PORT} == 81

This is actually working fine when the client is a web browser. (i.e., using HTTPD method GET).

But the server is actually hosting Subversion (via WebDAV), so the client is an SVN client (which uses HTTP methods OPTIONS, PROPFIND, and REPORT). And when the URL is accessed that way it fails, with the following appearing in the log:

[Thu Nov 19 19:37:53 2009] [error] [client <my ip address>] access to <our SVN path> failed, reason: SSL requirement expression not fulfilled (see SSL logfile for more details)

Even when I crank up the debugging, I still don't get any useful info as to what's happening:

[Thu Nov 19 19:37:53 2009] [info] Failed expression: %{SERVER_PORT} == 81

Anyone have any idea what's going on here? Is there any way to debug the SSLRequire expression?

I'm using mod_ssl 2.2.3 with Apache on CentOS 5.2.

Thanks,

DR
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            majord...@modssl.org

Reply via email to