Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 9e41a94a3e659caa5b91706d5c415d34 > files > 977

bugzilla-4.4.11-1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>A.6.&#160;Everybody is constantly being forced to relogin</title><link rel="stylesheet" type="text/css" href="../../style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><meta name="keywords" content="Bugzilla, Guide, installation, FAQ, administration, integration, MySQL, Mozilla, webtools"><link rel="home" href="index.html" title="The Bugzilla Guide - 4.4.11 Release"><link rel="up" href="troubleshooting.html" title="Appendix&#160;A.&#160;Troubleshooting"><link rel="prev" href="paranoid-security.html" title="A.5.&#160;cannot chdir(/var/spool/mqueue)"><link rel="next" href="trbl-index.html" title="A.7.&#160;index.cgi doesn't show up unless specified in the URL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">A.6.&#160;Everybody is constantly being forced to relogin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="paranoid-security.html">Prev</a>&#160;</td><th width="60%" align="center">Appendix&#160;A.&#160;Troubleshooting</th><td width="20%" align="right">&#160;<a accesskey="n" href="trbl-index.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="trbl-relogin-everyone"></a>A.6.&#160;Everybody is constantly being forced to relogin</h2></div></div></div><p>The most-likely cause is that the <span class="quote">&#8220;<span class="quote">cookiepath</span>&#8221;</span> parameter
  is not set correctly in the Bugzilla configuration.  You can change this (if
  you're a Bugzilla administrator) from the editparams.cgi page via the web interface.
  </p><p>The value of the cookiepath parameter should be the actual directory
  containing your Bugzilla installation, <span class="emphasis"><em>as seen by the end-user's
  web browser</em></span>. Leading and trailing slashes are mandatory. You can
  also set the cookiepath to any directory which is a parent of the Bugzilla
  directory (such as '/', the root directory). But you can't put something
  that isn't at least a partial match or it won't work. What you're actually
  doing is restricting the end-user's browser to sending the cookies back only
  to that directory.
  </p><p>How do you know if you want your specific Bugzilla directory or the
  whole site?
  </p><p>If you have only one Bugzilla running on the server, and you don't
  mind having other applications on the same server with it being able to see
  the cookies (you might be doing this on purpose if you have other things on
  your site that share authentication with Bugzilla), then you'll want to have
  the cookiepath set to "/", or to a sufficiently-high enough directory that
  all of the involved apps can see the cookies.
  </p><div class="example"><a name="trbl-relogin-everyone-share"></a><p class="title"><b>Example&#160;A.1.&#160;Examples of urlbase/cookiepath pairs for sharing login cookies</b></p><div class="example-contents"><div class="blockquote"><blockquote class="blockquote"><div class="literallayout"><p><br>
urlbase&#160;is&#160;http://bugzilla.mozilla.org/<br>
cookiepath&#160;is&#160;/<br>
<br>
urlbase&#160;is&#160;http://tools.mysite.tld/bugzilla/<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;but&#160;you&#160;have&#160;http://tools.mysite.tld/someotherapp/&#160;which&#160;shares<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;authentication&#160;with&#160;your&#160;Bugzilla<br>
cookiepath&#160;is&#160;/<br>
&#160;&#160;&#160;&#160;&#160;&#160;</p></div></blockquote></div></div></div><br class="example-break"><p>On the other hand, if you have more than one Bugzilla running on the
   server (some people do - we do on landfill) then you need to have the
   cookiepath restricted enough so that the different Bugzillas don't
   confuse their cookies with one another.
   </p><div class="example"><a name="trbl-relogin-everyone-restrict"></a><p class="title"><b>Example&#160;A.2.&#160;Examples of urlbase/cookiepath pairs to restrict the login cookie</b></p><div class="example-contents"><div class="blockquote"><blockquote class="blockquote"><div class="literallayout"><p><br>
urlbase&#160;is&#160;http://landfill.bugzilla.org/bugzilla-tip/<br>
cookiepath&#160;is&#160;/bugzilla-tip/<br>
<br>
urlbase&#160;is&#160;http://landfill.bugzilla.org/bugzilla-4.0-branch/<br>
cookiepath&#160;is&#160;/bugzilla-4.0-branch/<br>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</p></div></blockquote></div></div></div><br class="example-break"><p>If you had cookiepath set to <span class="quote">&#8220;<span class="quote">/</span>&#8221;</span> at any point in the
    past and need to set it to something more restrictive
    (i.e. <span class="quote">&#8220;<span class="quote">/bugzilla/</span>&#8221;</span>), you can safely do this without
    requiring users to delete their Bugzilla-related cookies in their
    browser (this is true starting with Bugzilla 2.18 and Bugzilla 2.16.5).
    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="paranoid-security.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="troubleshooting.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="trbl-index.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">A.5.&#160;cannot chdir(/var/spool/mqueue)&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;A.7.&#160;<code class="filename">index.cgi</code> doesn't show up unless specified in the URL</td></tr></table></div></body></html>