DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:htaccessauth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:htaccessauth [2013-09-12 09:04]
113.160.225.76
tips:htaccessauth [2013-09-12 09:44] (current)
141.65.129.241 old revision restored (2011/11/02 15:58)
Line 738: Line 738:
  
 The module as provided only works if you are using mod_php.  It works fine without mod_php if you make the following changes: The module as provided only works if you are using mod_php.  It works fine without mod_php if you make the following changes:
-[[plugin:keywordvoting|keywordvoting plugin]]+
 <code php> <code php>
 if (isset($_SERVER['REMOTE_USER']) and !isset($_SESSION[$conf['title']]['auth']['info'])) $_REQUEST['u'] = $_SERVER['REMOTE_USER']; if (isset($_SERVER['REMOTE_USER']) and !isset($_SESSION[$conf['title']]['auth']['info'])) $_REQUEST['u'] = $_SERVER['REMOTE_USER'];
tips/htaccessauth.txt ยท Last modified: 2013-09-12 09:44 by 141.65.129.241