- 论坛徽章:
- 0
|
配置基础信息:
操作系统:win2k pro
WEB服务平台: Apache 2.0.58
解析语言:PHP 4.4.2
数据库: MYSQL 5.0.22
SSL模块:Apache_2.0.58-Openssl_0.9.8a-Win32
Openssl:Openssl_0.9.8a
配置文件信息:
httpd.conf
ServerRoot "C:/AppServ/Apache2"
PidFile logs/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule php4_module C:/AppServ/php/sapi/php4apache2.dll
#ExtendedStatus On
ServerAdmin z820819@yahoo.com.cn
ServerName localhost:80
UseCanonicalName Off
DocumentRoot "C:/AppServ/www"
<Directory />
Options FollowSymLinks ExecCGI Indexes
AllowOverride None
</Directory>
<Directory "C:/AppServ/www">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
UserDir "My Documents/My Website"
DirectoryIndex index.php index.html index.htm index.html.var
AccessFileName .htaccess
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
TypesConfig conf/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access.log common
ServerTokens Full
ServerSignature On
Alias /icons/ "C:/AppServ/Apache2/icons/"
<Directory "C:/AppServ/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "C:/AppServ/cgi-bin/"
<Directory "C:/AppServ/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing VersionSort
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
ReadmeName README.html
HeaderName HEADER.html
ForceLanguagePriority Prefer Fallback
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler type-map var
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
ssl.conf文件的信息
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
<IfDefine SSL>
Listen localhost:443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout 300
#SSLMutex file:logs/ssl_mutex
SSLMutex none
##
## SSL Virtual Host Context
##
<VirtualHost _default_:443>
DocumentRoot "c:/appserv/www/phpmyadmin"
ServerName localhost:443
ServerAdmin z820819@yahoo.com.cn
ErrorLog logs/error_log
TransferLog logs/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key
SSLCertificateChainFile conf/ssl.crt/ca.crt
<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "c:/apache/cgi">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
启动日志:
[Mon Jul 31 15:14:57 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 31 15:14:57 2006] [notice] Child 788: Exit event signaled. Child process is ending.
[Mon Jul 31 15:14:58 2006] [notice] Child 788: Released the start mutex
[Mon Jul 31 15:14:59 2006] [notice] Child 788: Waiting for 250 worker threads to exit.
[Mon Jul 31 15:14:59 2006] [notice] Child 788: All worker threads have exited.
[Mon Jul 31 15:14:59 2006] [notice] Child 788: Child process is exiting
[Mon Jul 31 15:14:59 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 31 15:15:04 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Jul 31 15:15:07 2006] [notice] Apache/2.0.58 (Win32) mod_ssl/2.0.58 OpenSSL/0.9.8a PHP/4.4.2 configured -- resuming normal operations
[Mon Jul 31 15:15:07 2006] [notice] Server built: Apr 29 2006 17:47:10
[Mon Jul 31 15:15:07 2006] [notice] Parent: Created child process 1772
[Mon Jul 31 15:15:08 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Jul 31 15:15:12 2006] [notice] Child 1772: Child process is running
[Mon Jul 31 15:15:12 2006] [notice] Child 1772: Acquired the start mutex.
[Mon Jul 31 15:15:12 2006] [notice] Child 1772: Starting 250 worker threads.
看日志也是启动了,就是无法通过https://localhost访问
通过http://localhost是可以访问了! |
|