I want to restart httpd aws ec2 linux. I write following command in terminal.
sudo service httpd restart
But it gives me following error.
Starting httpd: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Starting httpd: AH00526: Syntax error on line 23 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLSessionCache', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
If i comment the line then it will show below error.
Starting httpd: AH00526: Syntax error on line 24 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLSessionCacheTimeout', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
I dont think so that each time i have to comment the lines. Currently, i dont need ssl.conf. So i dont want to call it when i am going to restart httpd. how can i do it?
Thanks