Hi I want to forbid others to view certian directories. I found this code that should do the job. AuthUserFile /hsphere/local/home/media/.htpasswd AuthGroupFile /dev/null AuthName 'Members only' AuthType Basic <limit GET> require valid-user </Limit> ErrorDocument 401 /401.html ErrorDocument 404 /404.html ErrorDocument 500 /500.html Code (markup): In this .htaccess file there are two paths, the above is simple thats my servers path where the files are located. However i dont know what to second one is for and what i should add there. The above authgroupfile path is from the example code i found and i cant see it on my own server. Any ideas on what path i should choose?
/dev/null is a device, anything you send there is lost in oblivion. In this case AuthGroupFile file is not needed, so /dev/null is used, as basically an empty file