1 对perl 支持
Apache to run Perl scripts directly, rather
than relying on the normal CGI tools to do so. You may need to install a package called
apache - mod_perl , libapache2 - mod - perl2
2
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so http://blog.51cto.com/e/u/themes/default/images/spacer.gif
---------------------启动封装------------
三步
1 安装特殊版本 或者安装插件
www.apache-ssl.org yum install mod-ssl -y http://blog.51cto.com/e/u/themes/default/images/spacer.gif
2 获得证书 (一般都是购买)
copying the certifi cate to a special certificate directory somewhere in /etc , such as/etc/ssl/apache . If you use a script to generate a certificate, the script may do this automatically, or it may place the certifi cate in another directory, such as the main Apache confi guration directory. The certifi cate consists of two files: a certifi cate fi le (which often has a .crt extension) and a key (which often has a .key
extension).
安装证书
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so #支持SSL
Listen
This option binds the server to a particular port. The secure
HTTP port is 443.
SSLEngine
You can set this option to on or off to enable or disable SSL.
SSLRequireSSL
Ordinarily, Apache will deliver files to both ordinary HTTP and
secure HTTP clients. Using this option tells Apache to deliver
files only to clients that have made secure connections. This
directive takes no value, and it is normally placed within a
< Directory > directive block.
SSLCACertificatePath
This directive points to the directory in which the SSL
certificate resides, such as /etc/ssl/apache .
SSLCertificateFile
This directive identifies the SSL certificate file, such as
/etc/ssl/apache/server.crt