I'm trying to setup the above mentioned scenario, but after a couple
of days head-banging the wall,
i can't make the dreaded user/password box show up. I have some users
in the passwd file which I'd like to use to authenticate and authorize
the access to a given url.
Please accept my apologies if this is off-topic, but given what i read
on Jenkins docs,
i'm guessing having an apache server proxying requests to/from jenkins
is a common scenario.
This is how I setup:
| me | <----> 'the tubes' <----> | gateway w/ apache proxying to/from
jenkins | <----> internal network <----> | jenkins |
I followed this tutorial:
http://code.google.com/p/mod-auth-external/wiki/ConfigApache22 ,
tried using the new and old syntax of configuration, and also tried
the .htaccess approach, all to no avail.
This is my apache conf:
http://pastie.org/3800000
And this is the .htaccess file placed in '/var/www/jenkins/.htaccess' .
------------
DefineExternalAuth pwauth pipe /usr/sbin/pwauth
AuthType Basic
AuthName "jenkins"
AuthBasicProvider external
AuthExternal pwauth
require valid-user
-------------
Can anybody please tell what's wrong with my setup?
Am I overlooking some very basic thing ? Is it possible to do what i'm trying ?
TIA
In your configuration, you defined access right for shared folder and
no proxy rules
I setup Apache in front of Jenkins servlet container by adding the
following in httpd.conf:
# Jenkins
ProxyPass /jenkins http://localhost:8080/jenkins
ProxyPassReverse /jenkins http://localhost:8080/jenkins
<Proxy http://localhost:8080/jenkins*>
Order deny,allow
Allow from all
</Proxy>
Regards,
Arnaud.
2012/4/17 Fabricio Cannini Flores <fabricio...@sematext.com>: