Monday, May 31, 2010

TrixBox Web Authentication

/etc/trixbox/httpdconf/trixbox.conf is the trixbox webauthentication file. its sample is given below you can modify it according to your requirement. it use htaccess method to restrict the contents.


cat  /etc/trixbox/httpdconf/trixbox.conf
#Password protect /var/www/html/admin


AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user wwwadmin maint

 #Password protect /var/www/html/maint

AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user maint



AllowOverride All

No comments:

Post a Comment