Archive for the ‘Q&EG’ Category

Apache, how to protect directory with a password

Another Q&EG. Step 1: create .htpasswd file in your directory (or any other location on the server actually) htpasswd -c .htpasswd username Step2: create file / add following lines to the existing file; make sure AuthUserFile directive have full path. AuthUserFile /var/www/www.site.com/html/.htpasswd AuthType Basic AuthName “Password Pup-up Title” Step3: Enjoy.

Posted on March 5, 2012 at 12:15 by admin · Permalink · Leave a comment
In: English, Q&EG · Tagged with: 

How to install samba (aka smb) on Red Hat Linux /quick and easy guide

Well, well, well… Just a side thought: I am going to add new tag “Q&EG” (quick and easy guide) to all similar guides from now on. Step 1.1 – install samba via yum: yum install samba Step 1.2 – or via rpm: Obtain Samba rpm from rhn.redhat.com rpm -ivh samba*.rpm Step 2 – config file […]

Posted on February 15, 2012 at 15:49 by admin · Permalink · Leave a comment
In: English, Linux, Q&EG