How to remove the AuthType Basic

For putting the web authentication we always use the .htaccess or apache configuration file. For removing the web auth from folder you need put following code in .htaccess file.

 

How to remove the AuthType Basic

01<Directory /var/www/html/>
02#AuthType Basic
03#AuthName "By Invitation Only"
04#AuthUserFile /etc/httpd/passwd/passwords
05#Require user wpapi
06#Require valid-user
07</Directory>
08 
09<Directory /var/www/html/>
10AuthType None
11Require all granted
12Satisfy Any
13</Directory>

without directory use the following code.

#AuthType Basic
#AuthName “By Invitation Only”
#AuthUserFile /etc/httpd/passwd/passwords
#Require user wpapi
#Require valid-user

AuthType None
Require all granted
Satisfy Any

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

One thought on “How to remove the AuthType Basic”

Leave a Reply to John Cancel reply

Your email address will not be published.