On Mon, Sep 29, 2008 at 01:40:07PM -0400, Joey Hess wrote: > Luke Schierer wrote: > > I enabled the httpauth,goodstuff,search and wikisetup plugins in my > > ikiwiki.setup file, and re-ran ikiwiki --setup ikiwiki.setup. Despite > > this, and even though the site is in fact configured to require http > > authentication, I am still asked to log in to edit a page. If I > > enable anonok, or disable signinedit, then I can edit the page without > > signing in a second time, but it fails to record who edited the page, > > it lists the IP address I come from instead. > > ikiwiki's httpauth plugin does in fact work. I just set up apache to > require autentication, enabled the plugin, no problems. > > My guess is that you: > > - Are using some web server that does not set the environment variable > that CGI.pm expects to be set by basic authenticaton. > - Or have enabled httpauth for the pages comprising your wiki, but not > for ikiwiki.cgi itself. > - Or have some other configuration problem. > > I'd need a lot more information to replicate your problem to be able to > be of any help, such as what web server you're using, and exactly how > you have it and ikiwiki configured. > > -- > see shy jo
I am using the apache2 debian package configured with the authnz ldap module to provide http auth in the wiki. I'm pasting the non-commet parts of the ikiwiki.setup file below. Thanks for your help debugging this! Luke cat wiki.setup | grep -v \# use IkiWiki::Setup::Standard { wikiname => 'TCG wiki', adminemail => '[EMAIL PROTECTED]', adminuser => [qw{luke vincas andrius}], banned_users => [], srcdir => '/root/wiki', destdir => '/var/www/wiki', url => 'https://domain/wiki', cgiurl => 'https://domain/local-cgi/ikiwiki.cgi', cgi_wrapper => '/usr/local/lib/cgi-bin/ikiwiki.cgi', cgi_wrappermode => '06755', rcs => 'git', add_plugins => [qw{search httpauth websetup tag listdirectives goodstuff table editdiff recentchangesdiff hnb}], disable_plugins => [], templatedir => '/usr/share/ikiwiki/templates', underlaydir => '/usr/share/ikiwiki/basewiki', syslog => 1, usedirs => 0, prefix_directives => 1, discussion => 0, sslcookie => 1, default_pageext => 'mdwn', htmlext => 'html', timeformat => '%c', locale => 'en_US.UTF-8', userdir => '1', numbacklinks => 10, hardlink => 0, libdir => '', ENV => {}, wiki_file_chars => '-[:alnum:]+/.:_', allow_symlinks_before_srcdir => '0', git_wrapper => '/srv/TCG-WIKI.git/hooks/post-update', git_wrappermode => '06755', gitorigin_branch => 'origin', gitmaster_branch => 'master', rss => 1, allowrss => 1, allowatom => 1, pingurl => [], directive_description_dir => 'ikiwiki/directive', prettydateformat => '%X, %B %o, %Y', recentchangespage => 'recentchanges', recentchangesnum => 100, omega_cgi => '/usr/lib/cgi-bin/omega/omega', websetup_show_unsafe => 1, } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]