Horje
apache basic auth setup Code Example
apache basic auth setup
#install apache utilis
sudo apt-get install apache2 apache2-utils
#add apache user
sudo htpasswd -c /etc/apache2/.htpasswd some_username_here

#Setup Directory permissions in Apache Config
<Directory "/var/www/html">
	AuthType Basic
	AuthName "Restricted Content"
    AuthUserFile /etc/apache2/.htpasswd
    Require valid-user
</Directory>
#restart apache
sudo service apache2 restart




Shell

Related
how to get the size of directory in linux Code Example how to get the size of directory in linux Code Example
add known host github Code Example add known host github Code Example
bash echo to stderr Code Example bash echo to stderr Code Example
install gnome sushi Code Example install gnome sushi Code Example
check pod verion Code Example check pod verion Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15