Files
SCM-Manager/docs/en/configuration/apache/apache-mod_jk.md

37 lines
729 B
Markdown
Raw Normal View History

---
2020-05-06 21:36:20 +02:00
title: SCM-Server and Apache mod_jk
---
2020-03-09 08:01:43 +01:00
### Apache Configuration
2020-03-31 17:28:30 +02:00
```apache
JkWorkersFile /etc/apache2/jkworkers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkMount /scm* worker1
```
2020-03-09 08:01:43 +01:00
### JK Workers File (jkworkers.properties)
2020-03-31 17:28:30 +02:00
```ini
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
```
2020-03-09 08:01:43 +01:00
### SCM-Server conf/server-config.xml
Uncomment the following lines:
2020-03-31 17:28:30 +02:00
```xml
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.ajp.Ajp13SocketConnector">
<Set name="port">8009</Set>
</New>
</Arg>
</Call>
```