깜놀하는 해므찌로

NameVirtualHost has no effect and will be removed in the next release 에러 해결 예시 본문

IT

NameVirtualHost has no effect and will be removed in the next release 에러 해결 예시

agnusdei1207 2022. 11. 12. 19:26
반응형
SMALL

 

#NameVirtualHost *:443

<VirtualHost *:443>
    ServerAdmin 111@gamil.com
    DocumentRoot /home/abcd/www
    ServerName abcd
    ServerAlias www.abcd.co.kr
    CustomLog logs/ssl.abcd.org-log common

    SSLEngine on
    SSLCertificateFile  "/usr/local/apache/file.crt"
    SSLCertificateKeyFile  "/usr/local/apache/file.key"
    SSLCACertificateFile  "/usr/local/apache/file.crt"
    SSLCertificateChainFile "/usr/local/apache/file.pem"

        <IfModule proxy_fcgi_module>
                ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:1231/home/file/www/test/$1
        </IfModule>
</VirtualHost>

1. 버전 문제로 conf 서버 환경 설정 파일들 안에 ' NameVirtualHost *:433 ' 이라고 명시된 애들은 전~부 주석 처리

2. 이후 명령어가 정상적으로 실행되는 것을 확인 할 수 있습니다.

반응형
LIST