head 1.2; access; symbols pkgsrc-2017Q4:1.1.0.58 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.56 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.52 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.50 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.48 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.46 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.44 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.42 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.40 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.38 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.36 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.34 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.32 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.30 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.28 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.26 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.24 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.22 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.20 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.18 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.16 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.14 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.12 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.10 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2018.01.01.10.23.05; author wiz; state dead; branches; next 1.1; commitid zjUBNlZlngYbU9lA; 1.1 date 2011.04.01.15.11.58; author wiz; state Exp; branches; next ; desc @@ 1.2 log @apache22: remove, it was eol'd in June 2017 Remove packages that only work with apache22. Remove apache22 references. @ text @$NetBSD: patch-DIRECTIVES,v 1.1 2011/04/01 15:11:58 wiz Exp $ All Debian patches up to 4.3.9-13. --- DIRECTIVES.orig 2004-12-23 13:43:14.000000000 +0000 +++ DIRECTIVES @@@@ -1,23 +1,27 @@@@ All the directives understood by this version of mod-auth-mysql are listed -below. The huge number of synonym directives is due to the merging of two -separate versions of the program, both of which had subtly different usage -symantics. I'm sure there will be rationalisation in the near future. +below. All directives exist in the two forms Auth_MySQL_* and AuthMySQL_* +and share the same semantics. They are the result of merging two separate +versions of the mod_auth_mysql in the first place, both of which had subtly +different usage symantics. The directive names have since then unified. + +Auth_MySQL + Enable/disable MySQL authentication Auth_MySQL_Info Server-wide config option to specify the database host, username, and password used to connect to the MySQL server. This option affects all directories which do not override it via - AuthMySQL_Host, AuthMySQL_User, and/or AuthMySQL_Password. + Auth_MySQL_Host, Auth_MySQL_User, and/or Auth_MySQL_Password. -AuthMySQL_DefaultHost +Auth_MySQL_DefaultHost Specifies the MySQL server to use for authentication. This option affects all directories which do not override it via - AuthMySQL_Host. + Auth_MySQL_Host. -AuthMySQL_Host - Synonym for AuthMySQL_DefaultHost, to be used in .htaccess files and +Auth_MySQL_Host + Synonym for Auth_MySQL_DefaultHost, to be used in .htaccess files and directory-specific entries. Auth_MySQL_DefaultPort @@@@ -28,35 +32,37 @@@@ Auth_MySQL_DefaultPort Auth_MySQL_Port. Auth_MySQL_Port - Specifies a non-default port to use (other than 3306) when talking - to the MySQL server on AuthMySQL_Host or AuthMySQL_DefaultHost. + Synonym for Auth_MySQL_DefaultPort, to be used in .htaccess files and + directory-specific entries. Auth_MySQL_DefaultSocket - If using a local MySQL server, you can - specify a non-default named pipe to use instead of the default pipe - name compiled into your MySQL client library. + If using a local MySQL server, you can specify a non-default named + pipe to use instead of the default pipe name compiled into your MySQL + client library. This option affects all directories which do not override it via Auth_MySQL_Socket. Auth_MySQL_Socket - If using a local MySQL server, you can specify a non-default named - pipe to use instead of the default one compiled into MySQL with this - option. + Synonym for Auth_MySQL_DefaultSocket, to be used in .htaccess files and + directory-specific entries. -AuthMySQL_DefaultUser +Auth_MySQL_DefaultUser Specifies the username for connection to the MySQL server. -AuthMySQL_User - Synonym for AuthMySQL_DefaultUser, to be used in .htaccess files and +Auth_MySQL_User + Synonym for Auth_MySQL_DefaultUser, to be used in .htaccess files and directory-specific entries. -AuthMySQL_DefaultPassword +Auth_MySQL_Username + Synonym for Auth_MySQL_User. + +Auth_MySQL_DefaultPassword Specifies the password user together with the above user. -AuthMySQL_Password - Synonym for AuthMySQL_Password, to be used in .htaccess files and - directory-specific entries. +Auth_MySQL_Password + Synonym for Auth_MySQL_DefaultPassword, to be used in .htaccess files + and directory-specific entries. Auth_MySQL_General_DB Server-wide, specifies a default database name to use. @@@@ -65,12 +71,20 @@@@ Auth_MySQL_DB Synonym for Auth_MySQL_General_DB, to be used in .htaccess files and directory-specific entries. -AuthMySQL_DefaultDB +Auth_MySQL_DefaultDB Synonym for Auth_MySQL_General_DB. -AuthMySQL_DB - Synonym for Auth_MySQL_General_DB, to be used in .htaccess files and - directory-specific entries. +Auth_MySQL_CharacterSet + + Set the connection character set to the specified one. Otherwise no + particular character set is used when the connection is created. + This could cause problems with differently encoded strings and table + or column collations. The parameter must be a valid MySQL + character. It is mandatory if the character set used for tables/rows + differs from the default. + +AuthMySQL_CharacterSet + Synonym for Auth_MySQL_CharacterSet. AuthName "" Describes the data you're guarding. @@@@ -96,39 +110,28 @@@@ Auth_MySQL_Password_Table - Synonym for Auth_MySQL_Password_Table. - Auth_MySQL_Group_Table As per ...Password_Table above, stores username:group pairs. Normally you'll store username:password:group triplets in the one table, but we are nothing if not flexible. Defaults to 'mysql_auth'. -AuthMySQL_Group_Table - Synonym for Auth_MySQL_Group_Table. - Auth_MySQL_Username_Field The name of the field which stores usernames. Defaults to 'username'. The username/password combo specified in Auth_MySQL_Info must have select privileges to this field in the Password and Group tables. -AuthMySQL_Username_Field - Synonym for Auth_MySQL_Username_Field. - Auth_MySQL_Password_Field As per ...Username_Field above, but for passwords. Same MySQL - access privileges. Defaults to 'password'. + access privileges. Defaults to 'passwd'. AuthMySQL_Password_Field Synonym for Auth_MySQL_Password_Field. Auth_MySQL_Group_Field - As per ...Username_Field above. Defaults to 'groups'. - -AuthMySQL_Group_Field - Synonym for Auth_MySQL_Group_Field. + As per ...Username_Field above. Defaults to 'groups'. The query + will use FIND_IN_SET(,). Auth_MySQL_Group_User_Field The name of the field in the groups table which stores the username. @@@@ -146,6 +149,9 @@@@ Auth_MySQL_Group_Clause Adds arbitrary clause to username:group matching query, for example: " AND Allowed=1". Clause has to start with space. Default is empty. +Auth_MySQL_Where_Clause + Synonym for Auth_MySQL_Password_Clause. + Auth_MySQL_Empty_Passwords Whether or not to allow empty passwords. If the password field is empty (equals to '') and this option is 'on', users would be able to @@@@ -153,9 +159,6 @@@@ Auth_MySQL_Empty_Passwords PASSWORD CHECKING. If this is 'off', they would be denied access. Default: 'on'. -AuthMySQL_Empty_Passwords - Synonym for Auth_MySQL_Empty_Passwords. - Auth_MySQL_Encryption_Types Select which types of encryption to check, and in which order to @@@@ -203,10 +206,11 @@@@ Auth_MySQL_Encryption_Types MySQL The hashing scheme used by the MySQL PASSWORD() function. + + Apache + The hashing scheme used by htpasswd utility. Compatible to + authuserfile. -AuthMySQL_Encryption_Types - Synonym for Auth_MySQL_Encryption_Types. - Auth_MySQL_Encrypted_Passwords (DEPRECATED) Equivalent to: Auth_MySQL_Encryption_Types Crypt_DES Only used if ...Encryption_Types is not set. Defaults to 'on'. If @@@@ -214,17 +218,11 @@@@ Auth_MySQL_Encrypted_Passwords ...Encryption_Types is not set, passwords are expected to be in plaintext. -AuthMySQL_Encrypted_Passwords (DEPRECATED) - Synonym for Auth_MySQL_Encrypted_Passwords. - Auth_MySQL_Scrambled_Passwords (DEPRECATED) Equivalent to: Auth_MySQL_Encryption_Types MySQL The same restrictions apply to this directive as to ...Encrypted_Passwords. -AuthMySQL_Scrambled_Passwords (DEPRECATED) - Synonym for Auth_MySQL_Scrambled_Passwords. - Auth_MySQL_Authoritative Whether or not to use other authentication schemes if the user is successfully authenticated. That is, if the user passes the MySQL @@@@ -232,9 +230,6 @@@@ Auth_MySQL_Authoritative option is set 'off'. The default is 'on' (i.e. if the user passes the MySQL module, they're considered OK). -AuthMySQL_Authoritative - Synonym for Auth_MySQL_Authoritative. - Auth_MySQL_Non_Persistent If set to 'on', the link to the MySQL server is explicitly closed after each authentication request. Note that I can't think of any @@@@ -244,10 +239,15 @@@@ Auth_MySQL_Non_Persistent increase the maximum number of simultaneous threads in MySQL and keep this option off. Default: off, and for good reason. -AuthMySQL_Persistent + Please bear in mind that modern MySQL installations appear to have a + connection timeout of 28000 seconds (8 hours), one may want to lower + this to 30 (max_connections) if you have very busy site and are + observing spikes containing a large number of connection threads. + +Auth_MySQL_Persistent An antonym for Auth_MySQL_Non_Persistent. -AuthMySQL_AllowOverride +Auth_MySQL_AllowOverride Whether or not .htaccess files are allowed to use their own Host/User/Password/DB specifications. If set to 'off', then the defaults specified in the httpd.conf cannot be overridden. @@@@ -256,6 +256,3 @@@@ Auth_MYSQL Whether or not to enable MySQL authentication. If it's off, the MySQL authentication will simply pass authentication off to other modules defined. - -AuthMySQL - Synonym for Auth_MYSQL. @ 1.1 log @Add all Debian patches up to 4.3.9-13, including a fix for CVE-2008-2384. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @