
Apache 2.4.53이 있고 그들이 이에 액세스하려고 하면 500 오류가 표시되고 error_log 파일에 다음이 표시됩니다.
[Thu Jan 25 23:56:22.600893 2024] [core:error] [pid 24313:tid 140492557752064] [client 172.31.xx.yy:39564] AH00027: No authentication done but request not allowed without authentication for /CN=XXXX.... Authentication not configured?
ssl.conf에는 VirtualHost가 설정되어 있습니다.
<VirtualHost *:7513>
SSLEngine on
SSLCompression off
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!NULL:!3DES
SSLHonorCipherOrder on
.
.
SSLVerifyClient require
SSLVerifyDepth 10
SSLOptions +ExportCertData +StdEnvVars +LegacyDNStringFormat
DocumentRoot "/apps/aaa/bbb"
ServerName sim.foo.com
ServerAlias sim.foo.com
ScriptAlias /rest/users "/apps/aaa/bbb/test7.pl"
<Directory "/apps/aaa/bbb">
Allow from all
</Directory>
<Location /rest>
AuthType None
Require all granted
</Location>
</VirtualHost>
및 <Location /rest>가 액세스를 허용해야 하는 것처럼 보이기 때문에 이 오류가 발생하는 이유를 이해할 수 없습니다. 그러나 저는 또한 이 특정 시스템에 익숙하지 않으므로 누군가가 지적할 수 있기를 바랐습니다. 무엇이 잘못되었을 수 있으며 문제를 해결하는 방법은 무엇입니까?
고마워요, 짐
EDIT1: apachectl -S 및 apachectl -t 출력 추가:
[root@simfed01 conf]# /apps/products/apache/2.4.53/bin/apachectl -S
VirtualHost configuration:
ServerRoot: "/apps/products/apache/2.4.53"
Main DocumentRoot: "/apps/products/apache/2.4.53/htdocs"
Main ErrorLog: "/apps/products/apache/2.4.53/logs/error_log"
Mutex ssl-cache: using_defaults
Mutex default: dir="/apps/products/apache/2.4.53/logs/" mechanism=default
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
PidFile: "/apps/products/apache/2.4.53/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="orcladmin" id=2008
Group: name="orcladmin" id=4503
[root@simfed01 conf]# /apps/products/apache/2.4.53/bin/apachectl -t
Syntax OK