2012-02-25 23:45:20 +01:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en"
lang="en" dir="ltr">
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > < / title >
<!-- metadata -->
< meta name = "generator" content = "Offline" / >
< meta name = "version" content = "Offline 0.1" / >
<!-- style sheet links -->
< link rel = "stylesheet" media = "all" type = "text/css" href = "../../../../css/all.css" / >
< link rel = "stylesheet" media = "screen" type = "text/css" href = "../../../../css/screen.css" / >
< link rel = "stylesheet" media = "print" type = "text/css" href = "../../../../css/print.css" / >
< / head >
< body >
< div class = "dokuwiki export" >
2015-06-08 16:57:58 +02:00
< h1 class = "sectionedit1" id = "bugzilla" > Bugzilla< / h1 >
2012-02-25 23:45:20 +01:00
< div class = "level1" >
< p >
2015-12-18 10:46:34 +01:00
< a href = "/_detail/applications/bugzilla_logo.png?id=documentation%3A1.9%3Aapplications%3Abugzilla" class = "media" title = "applications:bugzilla_logo.png" > < img src = "../../../../media/applications/bugzilla_logo.png" class = "mediacenter" alt = "" / > < / a >
2012-02-25 23:45:20 +01:00
< / p >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT1 SECTION "Bugzilla" [1 - 64] -->
< h2 class = "sectionedit2" id = "presentation" > Presentation< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< p >
< a href = "http://www.bugzilla.org" class = "urlextern" title = "http://www.bugzilla.org" rel = "nofollow" > Bugzilla< / a > is server software designed to help you manage software development.
< / p >
< p >
2015-06-08 16:57:58 +02:00
Bugzilla can authenticate a user with HTTP headers, and auto-create its account with a few information:
2012-02-25 23:45:20 +01:00
< / p >
< ul >
< li class = "level1" > < div class = "li" > User ID< / div >
< / li >
< li class = "level1" > < div class = "li" > Email< / div >
< / li >
< li class = "level1" > < div class = "li" > Real name< / div >
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT2 SECTION "Presentation" [65 - 338] -->
< h2 class = "sectionedit3" id = "configuration" > Configuration< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT3 SECTION "Configuration" [339 - 365] -->
< h3 class = "sectionedit4" id = "bugzilla_administration" > Bugzilla administration< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< p >
In Bugzilla administration interface, go in < code > Parameters< / code > » < code > User authentication< / code >
< / p >
< p >
Then set:
< / p >
< ul >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < strong > auth_env_id< / strong > : HTTP_AUTH_USER< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < strong > auth_env_email< / strong > : HTTP_AUTH_MAIL< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < strong > auth_env_realname< / strong > : HTTP_AUTH_CN< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < strong > user_info_class< / strong > : Env or Env,CGI< / div >
2012-02-25 23:45:20 +01:00
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT4 SECTION "Bugzilla administration" [366 - 653] -->
< h3 class = "sectionedit5" id = "bugzilla_virtual_host_in_apache" > Bugzilla virtual host in Apache< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< p >
2015-12-18 10:46:34 +01:00
Configure Bugzilla virtual host like other < a href = "../../../documentation/1.9/configvhost.html" class = "wikilink1" title = "documentation:1.9:configvhost" > protected virtual host< / a > .
2012-02-25 23:45:20 +01:00
< / p >
2015-06-08 16:57:58 +02:00
< pre class = "code file apache" > < < span class = "kw3" > VirtualHost< / span > *:< span class = "nu0" > 80< / span > >
2012-02-25 23:45:20 +01:00
< span class = "kw1" > ServerName< / span > bugzilla.example.com
2014-05-22 11:58:26 +02:00
PerlHeaderParserHandler Lemonldap::NG::Handler
2012-02-25 23:45:20 +01:00
...
< /< span class = "kw3" > VirtualHost< / span > > < / pre >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT5 SECTION "Bugzilla virtual host in Apache" [654 - 953] -->
< h3 class = "sectionedit6" id = "bugzilla_virtual_host_in_manager" > Bugzilla virtual host in Manager< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< p >
2015-12-18 10:46:34 +01:00
Go to the Manager and < a href = "../../../documentation/1.9/configvhost.html#lemonldapng_configuration" class = "wikilink1" title = "documentation:1.9:configvhost" > create a new virtual host< / a > for Bugzilla.
2012-02-25 23:45:20 +01:00
< / p >
< p >
2015-12-18 10:46:34 +01:00
Configure the < a href = "../../../documentation/1.9/writingrulesand_headers.html#rules" class = "wikilink1" title = "documentation:1.9:writingrulesand_headers" > access rules< / a > .
2012-02-25 23:45:20 +01:00
< / p >
< p >
2015-12-18 10:46:34 +01:00
Configure the following < a href = "../../../documentation/1.9/writingrulesand_headers.html#headers" class = "wikilink1" title = "documentation:1.9:writingrulesand_headers" > headers< / a > .
2012-02-25 23:45:20 +01:00
< / p >
< ul >
< li class = "level1" > < div class = "li" > < strong > Auth-User< / strong > : $uid< / div >
< / li >
< li class = "level1" > < div class = "li" > < strong > Auth-Mail< / strong > : $mail< / div >
< / li >
< li class = "level1" > < div class = "li" > < strong > Auth-Cn< / strong > : $cn< / div >
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
< / div > <!-- closes <div class="dokuwiki export"> -->