<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MySQL, Apache authentication in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860213#M77852</link>
    <description>Hey there.&lt;BR /&gt;I'm getting some difficulties getting apache to authenticate users through mod_auth_mysql.&lt;BR /&gt;I'm running own-build apache 2 (2.0.43) with build mod_auth_mysql. Thinking that all is installed ok, compiling went ok.. but....&lt;BR /&gt;&lt;BR /&gt;using the .htaccess listed here:&lt;BR /&gt;-- .htaccess&lt;BR /&gt;AuthName "My Authorization"&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthMySQLHost localhost&lt;BR /&gt;AuthMySQLDB auth_db&lt;BR /&gt;AuthMySQLUser sql_user&lt;BR /&gt;AuthGroupFile /dev/null&lt;BR /&gt;AuthMySQLPassword auth_pw&lt;BR /&gt;AuthMySQLUserTable auth_users&lt;BR /&gt;AuthMySQLNameField uname&lt;BR /&gt;AuthMySQLPasswordField pass&lt;BR /&gt;AuthMySQLGroupField user_level&lt;BR /&gt;AuthMySQLAuthoritative On&lt;BR /&gt;AuthMySQLCryptedPasswords on&lt;BR /&gt;AuthUserFile /dev/null&lt;BR /&gt;require group 1&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;The 'AuthUserFile' (according to many samples/examples/docs I've seen) should not need to be there, but...&lt;BR /&gt;&lt;BR /&gt;without that line I get a:&lt;BR /&gt;Internal error: pcfg_openfile() called with NULL filename&lt;BR /&gt;[client 145.7.200.27] (9)Bad file descriptor: Could not open password file: (null)&lt;BR /&gt;(a server error 500)&lt;BR /&gt;&lt;BR /&gt;and WITH the line it just doesn't find the user (the window asking for username/passwd comes up), but it probably looks inside the AuthUserFile (/dev/null doesn't contain it..  duh).&lt;BR /&gt;&lt;BR /&gt;is there anything I'm missing ?  thanks..&lt;BR /&gt;&lt;BR /&gt;-NvR</description>
    <pubDate>Mon, 09 Dec 2002 15:03:17 GMT</pubDate>
    <dc:creator>Nico van Royen</dc:creator>
    <dc:date>2002-12-09T15:03:17Z</dc:date>
    <item>
      <title>MySQL, Apache authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860213#M77852</link>
      <description>Hey there.&lt;BR /&gt;I'm getting some difficulties getting apache to authenticate users through mod_auth_mysql.&lt;BR /&gt;I'm running own-build apache 2 (2.0.43) with build mod_auth_mysql. Thinking that all is installed ok, compiling went ok.. but....&lt;BR /&gt;&lt;BR /&gt;using the .htaccess listed here:&lt;BR /&gt;-- .htaccess&lt;BR /&gt;AuthName "My Authorization"&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthMySQLHost localhost&lt;BR /&gt;AuthMySQLDB auth_db&lt;BR /&gt;AuthMySQLUser sql_user&lt;BR /&gt;AuthGroupFile /dev/null&lt;BR /&gt;AuthMySQLPassword auth_pw&lt;BR /&gt;AuthMySQLUserTable auth_users&lt;BR /&gt;AuthMySQLNameField uname&lt;BR /&gt;AuthMySQLPasswordField pass&lt;BR /&gt;AuthMySQLGroupField user_level&lt;BR /&gt;AuthMySQLAuthoritative On&lt;BR /&gt;AuthMySQLCryptedPasswords on&lt;BR /&gt;AuthUserFile /dev/null&lt;BR /&gt;require group 1&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;The 'AuthUserFile' (according to many samples/examples/docs I've seen) should not need to be there, but...&lt;BR /&gt;&lt;BR /&gt;without that line I get a:&lt;BR /&gt;Internal error: pcfg_openfile() called with NULL filename&lt;BR /&gt;[client 145.7.200.27] (9)Bad file descriptor: Could not open password file: (null)&lt;BR /&gt;(a server error 500)&lt;BR /&gt;&lt;BR /&gt;and WITH the line it just doesn't find the user (the window asking for username/passwd comes up), but it probably looks inside the AuthUserFile (/dev/null doesn't contain it..  duh).&lt;BR /&gt;&lt;BR /&gt;is there anything I'm missing ?  thanks..&lt;BR /&gt;&lt;BR /&gt;-NvR</description>
      <pubDate>Mon, 09 Dec 2002 15:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860213#M77852</guid>
      <dc:creator>Nico van Royen</dc:creator>
      <dc:date>2002-12-09T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, Apache authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860214#M77853</link>
      <description>What have you got in your Apache configuration for 'mod_auth_mysql' ?&lt;BR /&gt;&lt;BR /&gt;Check the log files to make sure the module it's self is getting intilised properly.</description>
      <pubDate>Mon, 09 Dec 2002 21:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860214#M77853</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-12-09T21:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, Apache authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860215#M77854</link>
      <description>Inside the apache config I have:&lt;BR /&gt;&lt;BR /&gt;LoadModule mysql_auth_module modules/mod_auth_mysql.so&lt;BR /&gt;&lt;BR /&gt;The module is loaded ok (afaik)..  with the apache handler 'server-info' this is displayed (amongst other things...):&lt;BR /&gt;Module Name: mod_auth_mysql.c &lt;BR /&gt;Content handlers: none&lt;BR /&gt;Configuration Phase Participation: Create Directory Config&lt;BR /&gt;Request Phase Participation: Verify User ID, Verify User Access &lt;BR /&gt;Module Directives:&lt;BR /&gt;AuthMySQLHost - mysql server host name &lt;BR /&gt;AuthMySQLUser - mysql server user name &lt;BR /&gt;AuthMySQLPassword - mysql server user password &lt;BR /&gt;AuthMySQLDB - mysql database name &lt;BR /&gt;AuthMySQLUserTable - mysql user table name &lt;BR /&gt;AuthMySQLGroupTable - mysql group table name &lt;BR /&gt;AuthMySQLNameField - mysql User ID field name within table &lt;BR /&gt;AuthMySQLGroupField - mysql Group field name within table &lt;BR /&gt;AuthMySQLPasswordField - mysql Password field name within table &lt;BR /&gt;AuthMySQLCryptedPasswords - mysql passwords are stored encrypted if On &lt;BR /&gt;AuthMySQLScrambledPasswords - mysql passwords are stored scrambled if On &lt;BR /&gt;AuthMySQLKeepAlive - mysql connection kept open across requests if On &lt;BR /&gt;AuthMySQLAuthoritative - mysql lookup is authoritative if On &lt;BR /&gt;AuthMySQLNoPasswd - If On, only check if user exists; ignore password &lt;BR /&gt;AuthMySQLUserCondition - condition to add to user where-clause &lt;BR /&gt;AuthMySQLGroupCondition - condition to add to group where-clause &lt;BR /&gt;Current Configuration: &lt;BR /&gt;--</description>
      <pubDate>Tue, 10 Dec 2002 19:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-apache-authentication/m-p/2860215#M77854</guid>
      <dc:creator>Nico van Royen</dc:creator>
      <dc:date>2002-12-10T19:53:46Z</dc:date>
    </item>
  </channel>
</rss>

