I've installed some software, namely, a continuous integration (CI) server (Jenkins) on a Mac Mini running Lion Server. The server, by default, runs from port 8080 on local host via the url: http://localhost:8080. However, when I try to access the page it seems to be protected by Basic Auth and it asks me for a name and a password.

Granted, I never set that Basic Auth and I've been told I can remove the authentication and use that port for the CI server. However, I'm hard pressed to find an .htaccess file anywhere that sets the Basic Auth? If it's not set in an .htaccess file then where would Basic Auth be set?


You might try looking in /etc/apache2/sites/ That was the directory in 10.6; in 10.5, it was /etc/httpd/sites

On 10.5 and 10.6 server, the server app can be used to set access restrictions, and that is the location where the config files are written.

If your web setup is not complicated, the filename may be similar to 0000_any_8080_(HOST).conf

  • Thanks for your suggestion. Still haven't found it but I learned a few other things along the way. If I find what's wrong I'll publish the answer. – racl101 Jul 12 '13 at 20:25

I don't know anything about Jenkins, but I would try checking /var/www or /Library/WebServer/Documents. The latter is where OS X's built-in Apache serves sites now (I believe since 10.8+).

You might also want to try this forum thread I found.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .