启动WEB服务 apachectl start
关闭WEB服务 apachectl stop
启用VHosts
Include conf/extra/http-vhost.conf
授予目录权限
注释<Directory /> Deny from all </Directory>或者增加Directory授权
启用SSL I
nclude conf/extra/https-ssl.conf
配置SSL <VirtualHost> DocumentRoot … ScriptAlias … </VirtualHost>
SSLCertificateFile /data/gauss/soft/httpd-2.2.4/conf/cert/server.crt
SSLCertificateKeyFile /data/gauss/soft/httpd-2.2.4/conf/cert/server.key
SSLCertificateChainFile /data/gauss/soft/httpd-2.2.4/conf/cert/intermediate.crt
启用HTTP1.1
注释或者修改BrowserMatch
启用SSI
<IfModule mime_module> …shtml… AddOutputFilter INCLUDES .shtml
设置默认页面
<IfModule dir_module>DirectoryIndex index.html index.shtml….
评论1
最新资源