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

Alan Dayley <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <14410218.409661239922641409.JavaMail.httpd@localhost>
> > - 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.

<Location>
  BogusDirective
  AuthType Basic
  ...
</Location>

Restart Apache and start fails with configuration file error on "BogusDirective," thus proving that Apache is actually reading the configuration file.

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

That is a good idea except, in RHEL 5 each web "site" has an independent configuration file in the /etc/httpd/conf.d directory. I could combine the two subversion.conf and viewcvs.conf files to accomplish your suggestion if you think it would solve the problem.

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

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.