apache basic auth setup
Shell
#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
Also in Shell:
- Title
- turn on component via powershell
- Category
- Shell
- Title
- install pip ubuntu
- Category
- Shell
- Title
- check installed packages apt-get
- Category
- Shell
- Title
- wheres i3 config file
- Category
- Shell
- Title
- Got permission denied while trying to connect to the Docker daemon socket
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- powershell sharepoint copy file to other site collection
- Category
- Shell
- Title
- install drush on windoes 10
- Category
- Shell
- Title
- install emotion
- Category
- Shell
- Title
- git config core.autocrlf true
- Category
- Shell
- Title
- unarchive tar acrhive
- Category
- Shell
- Title
- git clean remote branches
- Category
- Shell
- Title
- bash list not
- Category
- Shell
- Title
- kali linux change keyboard layout
- Category
- Shell
- Title
- install gatsby typography
- Category
- Shell
- Title
- remove frmo staging git
- Category
- Shell
- Title
- linux how to close terminal full screen
- Category
- Shell
- Title
- how to install blender 2.8 from a ubuntu linux terminal
- Category
- Shell
- Title
- check upstream branch git
- Category
- Shell
- Title
- linux select pages from pdf
- Category
- Shell
- Title
- set email git
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- angular add modulee
- Category
- Shell
- Title
- tab to csv command line
- Category
- Shell
- Title
- install sklearn
- Category
- Shell
- Title
- mkdir multiple directories
- Category
- Shell
- Title
- create a screen screen session tmux
- Category
- Shell
- Title
- pip3 not found
- Category
- Shell
- Title
- linux grep
- Category
- Shell
- Title
- git commit all
- Category
- Shell
- Title
- shell set environment variable
- Category
- Shell
- Title
- vim command to open a file
- Category
- Shell
- Title
- Add line break to 'git commit -m' from the command line
- Category
- Shell
- Title
- git fklow init
- Category
- Shell
- Title
- powershell upgrade
- Category
- Shell
- Title
- react quill
- Category
- Shell
- Title
- apache .htaccess Option ubuntu
- Category
- Shell
- Title
- bash: zipalign: command not found
- Category
- Shell
- Title
- how to deploy to netlify using git bash
- Category
- Shell
- Title
- install automapper asp.net core mvc
- Category
- Shell
- Title
- Data path ".builders['app-shell']" should have required property 'class'.
- Category
- Shell
- Title
- how to validate a mobile number in shell script
- Category
- Shell
- Title
- bash grep and sort
- Category
- Shell
- Title
- .gitignore not working
- Category
- Shell
- Title
- mongodb shell query last document
- Category
- Shell
- Title
- linux give full permission to directory
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- list packages linux windows
- Category
- Shell
- Title
- install snap change in progress ubuntu
- Category
- Shell
- Title
- réinstaller interface graphique debian
- Category
- Shell
- Title
- check vm ram details in linux
- Category
- Shell
- Title
- ubuntu add user to group
- Category
- Shell
- Title
- no ip raspberry manually update
- Category
- Shell
- Title
- list number of files in each folder linux
- Category
- Shell
- Title
- ubuntu stop process on port
- Category
- Shell
- Title
- combine strings bash
- Category
- Shell
- Title
- install react react testing library
- Category
- Shell
- Title
- connection failed blueman.bluez.errors.dbusfailederror protocol not available
- Category
- Shell
- Title
- how to revert back to previous commit in git
- Category
- Shell
- Title
- git cancel last commit
- Category
- Shell
- Title
- git SSL certificate problem: certificate has expired
- Category
- Shell
- Title
- ubuntu dns server
- Category
- Shell
- Title
- ignore git ignore
- Category
- Shell
- Title
- install bootstrap angular
- Category
- Shell
- Title
- scp send file
- Category
- Shell
- Title
- npm install bootstrap
- Category
- Shell
- Title
- list all services using systemctl
- Category
- Shell
- Title
- linux red hat version
- Category
- Shell
- Title
- rails no migration with version number
- Category
- Shell
- Title
- show date linux
- Category
- Shell
- Title
- bash list of integers
- Category
- Shell
- Title
- ngb-tabset install
- Category
- Shell
- Title
- run docker redis localhost
- Category
- Shell
- Title
- powershell create symlink
- Category
- Shell
- Title
- how to install emotion in gatsby
- Category
- Shell
- Title
- adb kill server kali linux
- Category
- Shell
- Title
- create branch in git
- Category
- Shell
- Title
- matrix synapse install
- Category
- Shell
- Title
- remove the last commit git without losing changes
- Category
- Shell
- Title
- gunicorn launch django cmd
- Category
- Shell
- Title
- react testing library
- Category
- Shell
- Title
- kubernetes copy files to persistent volume
- Category
- Shell
- Title
- install jquery
- Category
- Shell
- Title
- git remote
- Category
- Shell
- Title
- pipenv install virtual at same path
- Category
- Shell
- Title
- how to install react native
- Category
- Shell
- Title
- How to find cmake version in ubuntu?
- Category
- Shell
- Title
- reset branch on local git
- Category
- Shell
- Title
- extract tar.xz ubuntu
- Category
- Shell
- Title
- cosmicjs
- Category
- Shell
- Title
- install chromedriver linux command line
- Category
- Shell
- Title
- git rebase
- Category
- Shell
- Title
- powershell search array
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- linux command for get whole website
- Category
- Shell
- Title
- add known host github
- Category
- Shell
- Title
- source fish config
- Category
- Shell
- Title
- install x centos 7
- Category
- Shell
- Title
- git prune while fetch globally
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell