1510版
Include conf/extra/httpd-ssl.conf 这个删掉注释后提示 [img]file:///C:\Users\S\Documents\Tencent Files\254773230\Image\C2C\NE]$({S]KJ8SCU3]ZSO`VPG.png[/img] 图片:QQ图片20161122182058.png |
|
沙发#
发布于:2016-11-23 06:51
|
|
板凳#
发布于:2016-11-23 10:53
动力火锅:请参考http://php.upupw.net/apache/6/6175-e.html回到原帖我把论坛里面关于SSL的帖子都看了,你发的这个我也看了,没有效果。下载的最新版打开也是一样 图片:QQ截图20161123105101.png 图片:QQ图片20161123105014.png httpd-SSL.conf <VirtualHost www.517xunbao.com:443> DocumentRoot "D:/Webside/vhosts/www.517xunbao.com" ServerName www.517xunbao.com:443 ServerAlias 517xunbao.com ServerAdmin webmaster@517xunbao.com DirectoryIndex index.html index.htm index.php default.php app.php u.php ErrorLog logs/example_error.log CustomLog logs/example_access.log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" SSLEngine on SSLCertificateFile D:/Webside/Apache2/conf/2_www.517xunbao.com_cert.crt SSLCertificateKeyFile D:/Webside/Apache2/conf/3_www.517xunbao.com.key SSLCertificateChainFile D:/Webside/Apache2/conf/1_root_bundle.crt <FilesMatch "\.(shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> BrowserMatch "MSIE [2-5]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 <Directory "D:/Webside/vhosts/www.517xunbao.com"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>不知道是哪里的问题,搞了2天了 服务器是win2008 64 |
|
地板#
发布于:2016-11-23 15:48
httpd.conf文件拉到最后有一系列dll引入的参数,把其中带xxx32.dll的句首用#号注释掉,然后再启动apache
|
|
4楼#
发布于:2016-11-24 09:50
|
|
5楼#
发布于:2016-11-24 10:39
这一步完成后那问题就缩小到conf/extra/httpd-ssl.conf这个文件里的配置了,把<VirtualHost www.517xunbao.com:443>改成<VirtualHost *:443>
|
|
6楼#
发布于:2016-11-24 11:36
动力火锅:这一步完成后那问题就缩小到conf/extra/httpd-ssl.conf这个文件里的配置了,把<VirtualHost www.517xunbao.com:443>改成<VirtualHost *:443>回到原帖版主,谢谢你的耐心,我改为了*.443问题依旧存在 图片:QQ截图20161124113443.png |
|
7楼#
发布于:2016-11-24 12:26
|
|
8楼#
发布于:2016-11-24 23:56
动力火锅:查下443端口是否被占用,再看下apache.log日志里的具体报错。回到原帖端口没有被占用,apache.log的日志没有记录错误信息 图片:QQ截图20161124235745.png apache.log Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 2888:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Tue Nov 22 18:10:25.152250 2016] [mpm_winnt:notice] [pid 2888:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Tue Nov 22 18:10:25.152250 2016] [core:notice] [pid 2888:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Tue Nov 22 18:10:25.152250 2016] [mpm_winnt:notice] [pid 2888:tid 424] AH00418: Parent: Created child process 1340 [Tue Nov 22 18:10:25.730375 2016] [mpm_winnt:notice] [pid 1340:tid 308] AH00354: Child: Starting 350 worker threads. [Tue Nov 22 18:15:52.261625 2016] [mpm_winnt:notice] [pid 2888:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Tue Nov 22 18:15:54.261625 2016] [mpm_winnt:notice] [pid 1340:tid 308] AH00364: Child: All worker threads have exited. [Tue Nov 22 18:15:54.292875 2016] [mpm_winnt:notice] [pid 2888:tid 424] AH00430: Parent: Child process 1340 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 4172:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Tue Nov 22 18:16:07.246000 2016] [mpm_winnt:notice] [pid 4172:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Tue Nov 22 18:16:07.246000 2016] [core:notice] [pid 4172:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Tue Nov 22 18:16:07.246000 2016] [mpm_winnt:notice] [pid 4172:tid 424] AH00418: Parent: Created child process 5708 [Tue Nov 22 18:16:07.871000 2016] [mpm_winnt:notice] [pid 5708:tid 308] AH00354: Child: Starting 350 worker threads. [Tue Nov 22 18:17:07.636625 2016] [mpm_winnt:notice] [pid 4172:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Tue Nov 22 18:17:09.636625 2016] [mpm_winnt:notice] [pid 5708:tid 308] AH00364: Child: All worker threads have exited. [Tue Nov 22 18:17:09.667875 2016] [mpm_winnt:notice] [pid 4172:tid 424] AH00430: Parent: Child process 5708 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 2752:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Tue Nov 22 18:17:39.699125 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Tue Nov 22 18:17:39.699125 2016] [core:notice] [pid 2752:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Tue Nov 22 18:17:39.699125 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00418: Parent: Created child process 3152 [Tue Nov 22 18:17:40.292875 2016] [mpm_winnt:notice] [pid 3152:tid 308] AH00354: Child: Starting 350 worker threads. The 'UPUPW_Apache' service is restarting. The 'UPUPW_Apache' service has restarted. nt:notice] [pid 2752:tid 424] AH00424: Parent: Received restart signal -- Restarting the server. [Tue Nov 22 18:27:52.371000 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Tue Nov 22 18:27:52.371000 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Tue Nov 22 18:27:52.371000 2016] [core:notice] [pid 2752:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Tue Nov 22 18:27:52.371000 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00418: Parent: Created child process 1660 [Tue Nov 22 18:27:53.042875 2016] [mpm_winnt:notice] [pid 1660:tid 308] AH00354: Child: Starting 350 worker threads. [Tue Nov 22 18:27:54.042875 2016] [mpm_winnt:notice] [pid 3152:tid 308] AH00364: Child: All worker threads have exited. [Wed Nov 23 10:54:39.339750 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Wed Nov 23 10:54:41.339750 2016] [mpm_winnt:notice] [pid 1660:tid 308] AH00364: Child: All worker threads have exited. [Wed Nov 23 10:54:41.464750 2016] [mpm_winnt:notice] [pid 2752:tid 424] AH00430: Parent: Child process 1660 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 5212:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Wed Nov 23 10:55:11.324125 2016] [mpm_winnt:notice] [pid 5212:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Wed Nov 23 10:55:11.324125 2016] [core:notice] [pid 5212:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Wed Nov 23 10:55:11.324125 2016] [mpm_winnt:notice] [pid 5212:tid 424] AH00418: Parent: Created child process 3644 [Wed Nov 23 10:55:11.902250 2016] [mpm_winnt:notice] [pid 3644:tid 308] AH00354: Child: Starting 350 worker threads. [Thu Nov 24 09:45:55.574125 2016] [mpm_winnt:notice] [pid 5212:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Nov 24 09:45:57.589750 2016] [mpm_winnt:notice] [pid 3644:tid 308] AH00364: Child: All worker threads have exited. [Thu Nov 24 09:45:57.730375 2016] [mpm_winnt:notice] [pid 5212:tid 424] AH00430: Parent: Child process 3644 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 4088:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Thu Nov 24 09:49:08.886625 2016] [mpm_winnt:notice] [pid 4088:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Thu Nov 24 09:49:08.886625 2016] [core:notice] [pid 4088:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Thu Nov 24 09:49:08.886625 2016] [mpm_winnt:notice] [pid 4088:tid 424] AH00418: Parent: Created child process 3612 [Thu Nov 24 09:49:09.449125 2016] [mpm_winnt:notice] [pid 3612:tid 308] AH00354: Child: Starting 350 worker threads. [Thu Nov 24 11:34:05.011625 2016] [mpm_winnt:notice] [pid 4088:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Nov 24 11:34:07.011625 2016] [mpm_winnt:notice] [pid 3612:tid 308] AH00364: Child: All worker threads have exited. [Thu Nov 24 11:34:07.058500 2016] [mpm_winnt:notice] [pid 4088:tid 424] AH00430: Parent: Child process 3612 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. winnt:notice] [pid 2844:tid 424] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations [Thu Nov 24 11:35:08.933500 2016] [mpm_winnt:notice] [pid 2844:tid 424] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39 [Thu Nov 24 11:35:08.933500 2016] [core:notice] [pid 2844:tid 424] AH00094: Command line: 'D:\\Webside\\Apache2\\bin\\httpd.exe -d D:/Webside/Apache2' [Thu Nov 24 11:35:08.933500 2016] [mpm_winnt:notice] [pid 2844:tid 424] AH00418: Parent: Created child process 5824 [Thu Nov 24 11:35:09.496000 2016] [mpm_winnt:notice] [pid 5824:tid 308] AH00354: Child: Starting 350 worker threads. |
|
9楼#
发布于:2016-11-25 06:47
上面截图80端口是被apache占用,说明apache启动成功了?目前httpd-ssl.conf被注释掉了还是正常启用?因为最开始的问题是说开了ssl后apache不能启动。
|
|
10楼#
发布于:2016-11-25 11:46
|
|
11楼#
发布于:2016-11-25 12:20
目前情况只能看错误报告才能解决了,查看下logs/example_error.log日志。
另外把SSLCertificateChainFile D:/Webside/Apache2/conf/1_root_bundle.crt这句注释下看看。 |
|
12楼#
发布于:2016-11-25 13:29
|
|
13楼#
发布于:2016-11-25 17:19
我的情况和你一样,总是启动不了。
我把下面这3个的注释去掉后,就启动不了 LoadModule socache_shmcb_module modules/mod_socache_shmcb.so LoadModule ssl_module modules/mod_ssl.so Include conf/extra/httpd-ssl.conf 加上注释,就能正常的启动。 另外:通过注释掉这两两个,还是启动不了 LoadFile "C:/UPUPW/PHP5/ssleay32.dll" LoadFile "C:/UPUPW/PHP5/libeay32.dll" 感觉还是有其他的模块需要被启动。 |
|
14楼#
发布于:2016-11-25 17:20
输入:“rr”重启Apache,可以启动,但是https,依然不能被访问
|
|
上一页
下一页