616Part VRunning ServersThis (Crystaltech web hosting) example uses a wildcard for

616Part VRunning ServersThis example uses a wildcard for the IP address in the VirtualHost declaration, which saves you from having to modify your configuration file in the eventthat your IP address changes but will also prevent you from having multipleSSL virtual hosts. In the event that you do need to support more than one SSLvirtual host, replace *with the specific IP address that you assign to that host. See the Troubleshooting section earlier in the chapter for more information aboutthe Listendirective. A CA generally provides you with a certificate file to place in ca.crtandsometimes also provides you with a separate file that you will need to refer- ence using a SSLCertificateChainFiledirective. The mod_ssl packagealsoincludes an /etc/apache/ssl.crt/ca-bundle.crt, which containsthecertificates from most of the well-known certificate authorities and can bereferenced as long as the appropriate CA certificate is included. When runningyour own CA, point this directive to a file containing the public key from thatCA. Omit this line when using a self-signed certificate. 3.Test the Apache configuration and then perform a full restart: # apachectl configtestSyntax OK. # apachectl stop# apachectl start4.Browse to https://servername/and verify the SSL configuration. When usinga self-signed certificate, or one signed by a CA, you will be asked whether youwant to accept the certificate. SummaryCombining Linux with an Apache Web server, MySQL database, and PHP scriptingcontent (referred to as a LAMP server) makes it possible for everyone to configuretheir own full-featured Web server. By following the instructions in this chapter, youlearned how to set up Apache to do virtual hosting, add content to a MySQLdatabase, and allow PHP scripting in the content on your server. For added secu- rity, this chapter described how to add your own certificates and troubleshootproblems that might arise with your server. … Note32_
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.

Leave a Reply