Question
Remove Password on main site (not just the wp-admin area)
code
Hi, I get a “restricted Area” login prompt (which i can bypass with the provided WP admin password) at my entire website. I checked the Removing the Additional Apache Password Prompt for Admin Areas GUIDE, but my apache file looks really different, see below.
Can anyone point me to what I should change/remove/# ?
Thanks a lot!
ServerRoot "/etc/apache2"
Mutex file:${APACHE_LOCK_DIR} default
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel crit
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride None
<Limit PUT DELETE CONNECT OPTIONS PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
deny from all
</Limit>
</Directory>
<Directory /var/www>
Options FollowSymLinks
AllowOverride FileInfo
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
AccessFileName .htaccess
<FilesMatch "^\.ht">
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×