Apache equivalent of vsftpd’s local_enable – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about apache-2.2, authentication, , , .
vsftpd has an option
local_enable that allows FTP users to be directly mapped to local users. It even works without any extra effort with our Likewise Active Directory configuration.
I’ve been looking all over, and I can’t seem to find an equivalent for Apache .htaccess. The auth providers seem to be file, DBM, LDAP and DBD. None of these seem to allow for HTTP auth user mapping to local user accounts.
Is there any way to do this? If not, why not?
Take a look at mod_auth_pam: http://pam.sourceforge.net/mod_auth_pam/ (Most distros should have a package for this if it’s not included as standard with apache)
You still use apache basic auth, but the module allows you to use the local user accounts for authentication, as well as a bunch of other password databases. I’ll repeat the warning on the above site: it should be used in conjunction with SSL/TLS.