Linux Systeembeheer/Webservers: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Regel 145:
 
Herstarten van de firewall om de nieuwe regel te laden:</br>
::'''#sudo /sbin/service iptables restart'''
 
Apache herstarten:</br>
 
::'''#sudo /sbin/service httpd restart'''
::'''#/sbin/service httpd restart''' geeft een fout:'''Failed, SSLCertificateFile does not exist or is empty'''
::Dit komt omdat SELinux het bestand niet vertrouwd (tail /var/log/messages)
::'''#chcon user_u:object_r:httpd_config_t /etc/httpd/conf/ssl.crt/host_domain_tld.crt'''
::'''#chcon user_u:object_r:httpd_config_t /etc/httpd/conf/ssl.key/host_domain_tld.key'''
 
Apache herstarten:</br>
::'''#sudo /sbin/service httpd restart''' werkt nu wel.
 
=== PHP ===
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.