Dear all,
Digest authentication is not working in my php.
I do not how to check whether digest authentication is enabled in my php .
Is any other module is required to enable the digest authentication in php.
Thank you,
With Regards,
Prem
Dear all,
Digest authentication is not working in my php.
I do not how to check whether digest authentication is enabled in my php .
Is any other module is required to enable the digest authentication in php.
Thank you,
With Regards,
Prem
http://httpd.apache.org/docs/current/howto/auth.html
mod_auth_digest needs to be enabled in Apache. If it is enabled, it should be visible in phpinfo()
Dear pritaeas,
how to enable it in apache server.
Thank you
I think you need to enable it using configure
. See the Apache manual for details.
Dear pritaeas,
I have seen my phpinfo and noted that apache2handler section contains a part LoadedModules :
ore prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_php5 mod_proxy_ajp
So the above section contains the [mod_auth_digest ].Still my program not working .Is there any other setups to change in php or in apache server.
Thank you,
With Regards,
Prem
No, this should suffice.
I have seen in the httpd.conf file .
The following line is enabled.
LoadModule auth_digest_module modules/mod_auth_digest.so
Where should is find the passwdfile for the particular user.?
Reference:
http://httpd.apache.org/docs/current/programs/htdigest.html
Thankyou,
Regards,
Prem
htdigest can create it if you use the -c option. There are no default ones.
So, if i want to run the program in root user.Is i need to create a passwd file for the username root.Is it mandatory?
I am confused about it.I same program is executed in my collegue system.But the authorization is not acception in my system.
Thank you,
Yes, every user that you want to allow must be added to that password-file.
I have created a file in the same programs located folder.Still not getting Worked.
The command i have used is ,
htdigest -c passwdfile matrimony.net root
Is it mandatory to create a file in apache directory?
Thank you,
No, the location doesn't matter, since you specify it's location in your htaccess file.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.