==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=4933

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

           Summary: Position of External Auth affects other i-bays
           Product: SME Contribs
  Found-In-Version: 7.4
          Platform: PC
  Fixed-In-Version: Unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-subversion
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Originally raised in the forums here:

http://forums.contribs.org/index.php/topic,42689.msg204144.html

Installing the subversion module and (presumably) using specific options for
the repositories, prevents any other i-bay on the server from being accessed
externally through non-SSL using a password e.g. http://example.com/ibay (with
basic auth).

The fix - with credit to http://blog.innerewut.de/tags/pam - is to move the
following two lines from just *above* each SVN Location directive:

AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth
SetExternalAuthMethod pwauth pipe

And place them just before the closing </VirtualHost> tags. I did this by
adding the following template:

# cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf
# mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
# cat 35ExternalPwAuth >
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/90ExternalPwAuth
# expand-template /etc/httpd/conf/httpd.conf
# /etc/init.d/httpd-e-smith restart

I have not yet removed the original 'AddExternalAuth...' lines, but leaving
them in does not seem to have any undue affects that I have found yet.


-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam

Reply via email to