Clone wiki

scm-manager / apache / apache-mod_proxy

SCM-Server and Apache mod_proxy

Apache configuration

ProxyPass /scm http://localhost:8080/scm
ProxyPassReverse /scm http://localhost:8080/scm
ProxyPassReverse  /scm  http://servername:8080/scm
<Location /scm>
  Order allow,deny
  Allow from all

Warning: Setting ProxyPassReverseCookiePath would most likely cause problems with session handling!

SCM-Server conf/server-config.xml

Uncomment following line:

<Set name="forwarded">true</Set>


<Call name="addConnector">
    <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
      <Set name="host">
        <SystemProperty name="" />
      <Set name="port">
        <SystemProperty name="jetty.port" default="8080"/>
      <!-- for mod_proxy -->
      <Set name="forwarded">true</Set>

SCM-Manager Configuration version 1.5 and above

  1. Login as an admin user and select "General"
  2. Set the "Base Url" to the URL of the Apache (warning: don't check "Force Base Url")
  3. Save the new new settings

SCM-Manager Configuration before version 1.5

  1. Login as an admin user and select "General"
  2. Set the Serverport to the apache port (normally port 80)
  3. Save the new settings


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.