代码之家  ›  专栏  ›  技术社区  ›  Aron Rotteveel

CruiseControl访问限制:如何?

  •  2
  • Aron Rotteveel  · 技术社区  · 14 年前

    我正在测试 CruiseControl + phpUnderControl 对于我们的php-ci进程来说,我们面临着一个非常简单的问题:是否有可能以某种方式限制对Web界面的访问?

    我似乎找不到任何迹象表明这是可能的,但我可能忽略了一些事情。

    1 回复  |  直到 14 年前
        1
  •  2
  •   Theodore R. Smith    14 年前

    为什么阿帕奇的模型认证不起作用?

    为什么不使用mod ou proxy通过apache重定向CruiseControl的Web界面?然后使用apache auth。在phpexperts.pro,我让CruiseControl监听本地主机:8080,然后我使用mod_代理,如:

    <VirtualHost *:80>
        ServerName phpexperts.pro
    
        <Location "/cruisecontrol/">
            # Controls who can get stuff from this server.
            Satisfy any
            Order allow,deny
            Allow from 127.0.0.1
    
            AuthType Basic
            AuthName "private"
            AuthUserFile /var/www/phpexperts.pro/.htpasswd
            AuthGroupFile /dev/null
            Require valid-user
    
    
            # Pass in CruiseControl's web interface.
            ProxyPass  http://localhost:8080/
            ProxyPassReverse http://localhost:8080/
        </Location>
    </VirtualHost>