Re: main phpwiki website

Alexander Taler <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
  >> With that out of the way, I'll explain my trouble with HttpAuth in the
  >> hope that someone can enlighten me.  I'm using PhPWiki 1.3.14, and have
  >> Apache configured to require a password with .htaccess and .htpasswd
  >> files.  I successfully authenticate to Apache, but PhPWiki does not
  >> consider me authenticated, and asks me to login when I try to upload a
  >> file for example.  One unusual thing about this hosting environment, which
  >> is a possible cause, is that /tmp is not writeable, so I have to configure
  >> any temp file locations manually.
  >>
  >> Here are the configuration parameters from the user auth section of my
  >> config/config.ini:
  >>
  >> ALLOW_ANON_USER = true ALLOW_ANON_EDIT = true ALLOW_BOGO_LOGIN = false
  >> ALLOW_USER_PASSWORDS = false
  >>
  >> USER_AUTH_ORDER = "HttpAuth"
  >>
  >> PASSWORD_LENGTH_MINIMUM = 6
  >>
  >> USER_AUTH_POLICY = strict
  >>
  >> ;ENABLE_USER_NEW = false ENABLE_PAGEPERM = false

  Reini> If you choose HttpAuth, phpwiki does not do any auth session handling,
  Reini> all this is done within apache, and therefore you have a apache
  Reini> problem.  phpwiki just checks for the typical vars for PHP_AUTH_USER
  Reini> or REMOTE_USER (in case of cgi)

I just checked and REMOTE_USER has the correct value, while
PHP_AUTH_USER is empty.  I don't have control over the Apache
configuration on this machine, is there something I can do with
the phpwiki configuration to support this case?

Thanks, Alex

-- 
https://savannah.gnu.org/projects/libcvs-spec    Access CVS through a library.
PGP:  ID: 0x23DC453B  FPR: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B
I am not expendable, I am not stupid, and I am not going.  - Avon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.