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 revisionPrevious revision
Next revisionBoth sides next revision
tips:htaccessauth [2011-11-02 15:58] – old revision restored wargotips:htaccessauth [2013-09-12 09:04] 113.160.225.76
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'];

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki