Show More
@@ -1,30 +1,32 b'' | |||
|
1 | 1 | LoadModule headers_module ${MOD_DAV_CORE_MODULES_DIR}/mod_headers.so |
|
2 | 2 | LoadModule authn_anon_module ${MOD_DAV_CORE_MODULES_DIR}/mod_authn_anon.so |
|
3 | 3 | LoadModule dav_module ${MOD_DAV_CORE_MODULES_DIR}/mod_dav.so |
|
4 | 4 | LoadModule dav_svn_module ${MOD_DAV_SVN_MODULE} |
|
5 | 5 | |
|
6 | 6 | ErrorLogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"function\" : \"[%-m:%l]\" , \"process\" : \"[pid %P:tid %T]\" , \"message\" : \"%M\" ,\ \"referer\"\ : \"%{Referer}i\" }" |
|
7 | 7 | 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 |
|
8 | 8 | |
|
9 | 9 | ErrorLog /proc/self/fd/2 |
|
10 | 10 | CustomLog /proc/self/fd/1 combined |
|
11 | 11 | LogLevel ${MOD_DAV_SVN_LOG_LEVEL} |
|
12 | 12 | |
|
13 | ||
|
13 | 14 | <VirtualHost *:${MOD_DAV_SVN_PORT}> |
|
15 | SetEnv MY_VAR value | |
|
14 | 16 | ServerAdmin admin@localhost |
|
15 | DocumentRoot /var/opt/www | |
|
17 | DocumentRoot /home/rhodecode/apache2/htdocs | |
|
16 | 18 | |
|
17 | 19 | ErrorLogFormat "{ \"time\":\"%{%Y-%m-%d}tT%{%T}t.%{msec_frac}tZ\", \"function\" : \"[%-m:%l]\" , \"process\" : \"[pid %P:tid %T]\" , \"message\" : \"%M\" ,\ \"referer\"\ : \"%{Referer}i\" }" |
|
18 | 20 | 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 |
|
19 | 21 | |
|
20 | 22 | <Location /_server_status> |
|
21 | 23 | Require ip 127 |
|
22 | 24 | SetHandler server-status |
|
23 | 25 | Require all granted |
|
24 | 26 | </Location> |
|
25 | 27 | |
|
26 | 28 | # allows custom host names, prevents 400 errors on checkout |
|
27 | 29 | HttpProtocolOptions Unsafe |
|
28 | 30 | |
|
29 | 31 | Include ${MOD_DAV_SVN_CONF_FILE} |
|
30 | </VirtualHost> No newline at end of file | |
|
32 | </VirtualHost> |
General Comments 0
You need to be logged in to leave comments.
Login now