Home > OS >  Is there a Linux bosses to help
Is there a Linux bosses to help

Time:09-18

My is centos7
I'm HTTPD. Conf configuration for the require all denied reject all people visit my web site, use systemctl restart HTTPD, restart the service, but the other host or my website can be accessed through a browser, crack, no matter how to configure can access

CodePudding user response:

If you configured properly?
CD/etc/HTTPD/conf. D
Vim a_defautl. Conf
DocumentRoot/var/WWW/HTML
CustomLog logs/default. The log combined

Order a Deny, Allow # # according to Deny, Allow the sequential access
Allow the from 172.25.254.117 # # 172.25.254.117 allows only
Deny from all # # is not allow anyone to access

CodePudding user response:

reference 1st floor chaos_oper response:
if you configured properly?
CD/etc/HTTPD/conf. D
Vim a_defautl. Conf
DocumentRoot/var/WWW/HTML
CustomLog logs/default. The log combined

Order a Deny, Allow # # according to Deny, Allow the sequential access
Allow the from 172.25.254.117 # # 172.25.254.117 allows only
Deny from all # # is not allow anyone to access

Elder brother ah, Apache 2.4 update later need not deny ah, to the require

CodePudding user response:

/root @ rhel7 ~ # HTTPD - v
Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Server built: Jun 22 2018 01:19:25
Version is 2.4.6 above said user access control measure is ok

CodePudding user response:

You said the user access control policy measure is feasible, you appear there are many reasons for this problem, such as whether to empty the browser cache information such as

AllowOverride None
The Require all denied
# the Require all granted

  • Related