My hosting service recently upgraded my shared server from Apache 2.0 to Apache 2.2, and then my Amember protected folders suddenly became inaccessible! I'm not an expert at this stuff, but the error logs on my website say: "Invalid command 'AuthGroupFile', perhaps misspelled or defined by a module not included in the server configuration" I don't know exactly what this means, but it seems like something required by Amember is missing. For whatever reason, this isn't working. Right now, if my customers are to receive access to the premium content in my protected folders, I have to unprotect them. I paid the $40 to upgrade Amember, hoping that might fix things, but unfortunately that didn't help either. If anybody has any ideas that might help, please let me know. I've sent a few emails to Alex over the past couple days, but I still haven't heard back from him. I suppose he might be traveling or away for the weekend...
It's almost certainly an Apache problem. SCREAM at your hosting company support to make sure the Auth modules were correctly updated and if so it maybe you are caught up in an Auth module rework and need them to step it back a version. Alternatively if you are techy, go to the Apache forums and seek advice there. There are numerous good Apache forums and can be found doing a Google on "Apache Forum" This is the main problem using shared hosting...hosting companies simply upgrade when it suits their agendas and to hell with the users.
1) have you verified permissions on your amember/data directory and files. 2) ensure your files in \amember\data are present and have data in them (.htgroup specifically it appears) 3) What type of protection are you using? (new-rewrite, etc). Are other options available and do they work? 4) Any other errors? Sounds like something is missing in the httpd.conf that your host needs to fix? (mod_expires or auth for example).. but without more data/logs it is tough to say. Talk to your host guys.
First of all, thank you both for responding back to me. I appreciate the direction. Hopefully something will work. 1. Regarding permissions -- what should they be? Right now they're set at 777. Something tells me this is incorrect. 2. The files inside the data directory are present, and they have data in them. 3. I'm trying to use htpasswd for protection. It's the only version that (previously) allowed reliable access to the RSS feed by iTunes inside the protected directory. 4. No other errors that I have found. The host I use is Dreamhost, and they've actually been very good in the past. That said, after this experience, it's VERY tempting to look at getting a dedicated server, even if it's still through them. And Calisolllc, I think you're right that there's a module incorrectly installed, or not installed at all. This is all very new to me, so I wouldn't even know where to start. I've asked the host to look into a module called mod_authz_groupfile for Apache 2.2, but I don't know how to tell if it's already installed. Is there anything else I should be doing? Thanks again for the help!
Yes Id be saying the the dreamers at Dreamhost "only in my dreams would I have dreamed of hosting support actually breaking a perfectly good customer and...you broke it so now you fix it !" And dont take "well...ummm..errrr" or any other "shite" from them. I usually threaten to eat their first born child in the dark of nite and leave the innards on their living room rug. But thats just me, and maybe you aren't scary enough to pull it off, but hey give it a try
... Did anyone resolve this issue with Dreamhost? I am having the exact same issue with them. I have emailed Dreamhost but they have not replied yet. Please let me know if anyone has any suggestions. Thanks, Kim
So 3 years later and this is STILL an issue? I just moved to a Dreamhost dedicated server and I am having the issue of Dreamhost +"mod_authz_groupfile" not being installed. Did anyone find a way to fix this?
So I got on chat with Dreamhost tech support and basically when you use the Dreamhost panel to set up Apache it doesn't include the AuthGroupFile (mod_authz_groupfile) in the config. You will need to contact support and have them add it back into the configuration for your server. They say this is a change with Apache 2.2 and later, but in looking at the Apache 2 Docs it wasn't clear to me if this is still a default installed module or not.