Re: [viewvc-users] Apache basic authentication not working

Erik Wilson <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
Alan Dayley wrote:
> See the response in this other thread for what I have tried to do: http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=975661
> 
> This is exactly (except for the paths, of course) what I have now configured as an attempt to require authentication for our ViewVC service. It does not work. ViewVC displays the pages as before, wide open.
> 
> - I have restarted Apache between configuration file changes.
> - I put a bogus directive in the <Location> block a proved with a start error from Apache that the configuration file is being read.

Not sure what you mean by bogus directive here.

> - Proceeding to the Subversion browser URL pops the user ID and password box but going to ViewVC does not.

You might want to try using LocationMatch to match both directories 
rather than providing the same configuration for two Locations:
<LocationMatch "^/(viewvc|repos)/">

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=1749448

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.