|
|
LoadModule headers_module ${MOD_DAV_CORE_MODULES_DIR}/mod_headers.so
|
|
|
LoadModule authn_anon_module ${MOD_DAV_CORE_MODULES_DIR}/mod_authn_anon.so
|
|
|
LoadModule dav_module ${MOD_DAV_CORE_MODULES_DIR}/mod_dav.so
|
|
|
LoadModule dav_svn_module ${MOD_DAV_SVN_MODULE}
|
|
|
|
|
|
ErrorLogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"function\" : \"[%-m:%l]\" , \"process\" : \"[pid %P:tid %T]\" , \"message\" : \"%M\" ,\ \"referer\"\ : \"%{Referer}i\" }"
|
|
|
LogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"process\":\"%D\", \"filename\":\"%f\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" combined
|
|
|
|
|
|
ErrorLog /proc/self/fd/2
|
|
|
CustomLog /proc/self/fd/1 combined
|
|
|
LogLevel ${MOD_DAV_SVN_LOG_LEVEL}
|
|
|
|
|
|
<VirtualHost *:${MOD_DAV_SVN_PORT}>
|
|
|
ServerAdmin admin@localhost
|
|
|
DocumentRoot /var/opt/www
|
|
|
|
|
|
ErrorLogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"function\" : \"[%-m:%l]\" , \"process\" : \"[pid %P:tid %T]\" , \"message\" : \"%M\" ,\ \"referer\"\ : \"%{Referer}i\" }"
|
|
|
LogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"process\":\"%D\", \"filename\":\"%f\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\" }" combined
|
|
|
|
|
|
<Location /_server_status>
|
|
|
Require ip 127
|
|
|
SetHandler server-status
|
|
|
Require all granted
|
|
|
</Location>
|
|
|
|
|
|
# allows custom host names, prevents 400 errors on checkout
|
|
|
HttpProtocolOptions Unsafe
|
|
|
|
|
|
Include ${MOD_DAV_SVN_CONF_FILE}
|
|
|
</VirtualHost>
|