Well, I've successfully built the module and it works flawlessy under apache 1.3.x.
The problem is in apache 2.0.55 and Apache 2.2
The order of the modules seems to be important because changing it makes it not work.
It looks like it's authenticating properly on it's first access however, the authentication doesn't stick (meaning you have to re-authenticate with each access) and the more you access a page the more times you have to authenticate untill you eventually authenticate every image that has to be laoded.
Here's what I know (which isn't much) and as you can see, I've tried different connection options as noted by the comments which gave the same results.
I know it's not browser related since it appears to work properly under apache 1.3.xx and I've tested it with many different browsers and yield the same results under all 3 versions of apache I have installed.
It's not a conflict with more than one version of apache running since only one version is running at any time.
I'd like to take advantage of Apache 2.x so getting it to work properly is what I'm attempting to do.
My OS, OSXS 10.3.9, 10.4.4 and 10.4.5 and since it works under Apache 1.3.33 (even apple's provided 1.3.33 version) I don't believe it's an OS related issue.
If you need to and it's at all possible, I'd prefer to be contacted off forum at dale at daleenterprise dot com.
<Directory "/www/webutils">
DirectoryIndex "index.php" "index.html" "index.htm"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
AuthType basic
<IfModule mod_auth_mysql.c>
################################################
# This is the way to access a realm via mysql #
################################################
AuthMySQLDB auth_mysql
AuthMySQLHost localhost
AuthMySQLPort 3306
#AuthMySQLSocket /var/mysql/mysql.sock
AuthMySQLSaltField none
AuthMySQLUser 'mod_ayth_mysql'
AuthMySQLPassword 'xxxxxx'
AuthMySQLUserTable tools_users
AuthMySQLPasswordField tools_password
AuthMySQLNameField tools_username
################################################
# 'On' to enable mysql, 'Off' to disable mysql #
AuthMySQLEnable On
################################################
AuthMySQLNoPasswd Off
AuthMySQLAuthoritative On
AuthMySQLPwEncryption md5
################################################
</IfModule>
AuthName "tools"
<Limit GET HEAD OPTIONS CONNECT POST PROPFIND PUT DELETE PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require valid-user
#Require user dale
</Limit>
</Directory>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I've successfully built the module and it works flawlessy under apache 1.3.x.
The problem is in apache 2.0.55 and Apache 2.2
The order of the modules seems to be important because changing it makes it not work.
It looks like it's authenticating properly on it's first access however, the authentication doesn't stick (meaning you have to re-authenticate with each access) and the more you access a page the more times you have to authenticate untill you eventually authenticate every image that has to be laoded.
Here's what I know (which isn't much) and as you can see, I've tried different connection options as noted by the comments which gave the same results.
I know it's not browser related since it appears to work properly under apache 1.3.xx and I've tested it with many different browsers and yield the same results under all 3 versions of apache I have installed.
It's not a conflict with more than one version of apache running since only one version is running at any time.
I'd like to take advantage of Apache 2.x so getting it to work properly is what I'm attempting to do.
My OS, OSXS 10.3.9, 10.4.4 and 10.4.5 and since it works under Apache 1.3.33 (even apple's provided 1.3.33 version) I don't believe it's an OS related issue.
If you need to and it's at all possible, I'd prefer to be contacted off forum at dale at daleenterprise dot com.
Thanks.
configuration information:
In file: httpf.conf
LoadModule php5_module modules/libphp5.so
LoadModule mysql_auth_module modules/mod_auth_mysql.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule example_module modules/mod_example.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
<Directory "/www/webutils">
DirectoryIndex "index.php" "index.html" "index.htm"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
AuthType basic
<IfModule mod_auth_mysql.c>
################################################
# This is the way to access a realm via mysql #
################################################
AuthMySQLDB auth_mysql
AuthMySQLHost localhost
AuthMySQLPort 3306
#AuthMySQLSocket /var/mysql/mysql.sock
AuthMySQLSaltField none
AuthMySQLUser 'mod_ayth_mysql'
AuthMySQLPassword 'xxxxxx'
AuthMySQLUserTable tools_users
AuthMySQLPasswordField tools_password
AuthMySQLNameField tools_username
################################################
# 'On' to enable mysql, 'Off' to disable mysql #
AuthMySQLEnable On
################################################
AuthMySQLNoPasswd Off
AuthMySQLAuthoritative On
AuthMySQLPwEncryption md5
################################################
</IfModule>
AuthName "tools"
<Limit GET HEAD OPTIONS CONNECT POST PROPFIND PUT DELETE PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require valid-user
#Require user dale
</Limit>
</Directory>
Dale,
Apache made some changes at the 2.2 level which makes our module incompatible at this time.
We're looking into how to correct the problem but there isn't a lot of documentation available about the changes.
Hopefully we can get a new version up and running shortly.
Sorry.
Jerry