Name
SSLCacheServerPort
Synopsis
SSLCacheServerPortfile
|port
Server config Not available in Apache v2
The cache server can use either TCP/IP or Unix domain sockets. If the
file
or port
argument is a number, then a TCP/IP port at that number is used;
otherwise, it is assumed to be the path to use for a Unix domain
socket.
Points to watch:
If you use a number, make sure it is not a TCP socket that could be used by any other package. There is no magical way of doing this: you are supposed to know what you are doing. The command
netstat -an | grep LISTEN
will tell you what sockets are actually in use, but of course, others may be latent because the service that would use them is not actually running.If you opt for a Unix domain socket by quoting a path, make sure that the directory exists and has the appropriate permissions.
The Unix domain socket will be called by the “filename” part of the path, but do not try to create it in advance, because you can’t. If you create a file there, you will prevent the socket forming properly.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.