php - .htaccess Error : Invalid command 'AuthGroupFile' -


before working on windows , project working proper. moved ubuntu , trying setup project on lamp.

i have created host (windows running directly through localhost) , when running getting 500 internal server error.

when looked in log file got invalid command 'authgroupfile', perhaps misspelled or defined module not included in server configuration.

.htaccess file

  #php_value zend.ze1_compatibility_mode off   authname "restricted area"    authtype basic    authuserfile /opt/lampp/htdocs/uniplex_mobile/.htpasswd    authgroupfile /dev/null     <files manageurls.html>   require valid-user   </files>   <files addurl.html>   require valid-user   </files>   <files editurl.html>   require valid-user   </files>    addtype application/x-httpd-php .php .htm .html 

my project on smarty framework.

can solve this?

thanks in advance

you can try this.

a2enmod authz_groupfile


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -