upupw结合Fiddler使用,Apache的httpd-vhosts配置错误处理
2016-07-07 16:27
513 查看
Fiddler支持解析*.hosts.my域名。
hosts文件配置 127.0.0.1 www.hosts.my
upupw报错提示:
启动Apache失败!可能的原因如下:
1、80端口被占用 2、httpd-vhosts.conf配置文件错误
3、VC运行库未装 4、程序路径含有中文或空格
具体错误请查看Apache2\logs\apache.log文件[error]条目
Apache错误提示:
[Thu Jul 07 16:19:22.932510 2016] [mpm_winnt:notice] [pid 2248:tid 844] AH00422: Parent: Received shutdown signal – Shutting down the server.
[Thu Jul 07 16:19:24.950803 2016] [mpm_winnt:notice] [pid 3728:tid 812] AH00364: Child: All worker threads have exited.
[Thu Jul 07 16:19:25.088834 2016] [mpm_winnt:notice] [pid 2248:tid 844] AH00430: Parent: Child process 3728 exited successfully.
处理方式:
httpd-vhosts配置文件,把ServerName *.hosts.my:80改为ServerName hosts.my:80。
给ServerAlias 赋值 *.hosts.my,保存重启Apache即可
hosts文件配置 127.0.0.1 www.hosts.my
upupw报错提示:
启动Apache失败!可能的原因如下:
1、80端口被占用 2、httpd-vhosts.conf配置文件错误
3、VC运行库未装 4、程序路径含有中文或空格
具体错误请查看Apache2\logs\apache.log文件[error]条目
Apache错误提示:
[Thu Jul 07 16:19:22.932510 2016] [mpm_winnt:notice] [pid 2248:tid 844] AH00422: Parent: Received shutdown signal – Shutting down the server.
[Thu Jul 07 16:19:24.950803 2016] [mpm_winnt:notice] [pid 3728:tid 812] AH00364: Child: All worker threads have exited.
[Thu Jul 07 16:19:25.088834 2016] [mpm_winnt:notice] [pid 2248:tid 844] AH00430: Parent: Child process 3728 exited successfully.
处理方式:
httpd-vhosts配置文件,把ServerName *.hosts.my:80改为ServerName hosts.my:80。
给ServerAlias 赋值 *.hosts.my,保存重启Apache即可
<VirtualHost *:80> DocumentRoot "E:/UPUPW_AP5.5/vhosts/www.hosts.my/frontend/web" ServerName hosts.my:80 ServerAlias *.hosts.my ServerAdmin webmaster@www.hosts.my DirectoryIndex index.html index.htm index.php default.php app.php u.php ErrorLog logs/www.hosts.my-error.log CustomLog logs/www.hosts.my-access_%Y%m%d.log comonvhost php_admin_value open_basedir "E:\UPUPW_AP5.5\vhosts\www.hosts.my\;E:\UPUPW_AP5.5\memcached\;E:\UPUPW_AP5.5\phpmyadmin\;E:\UPUPW_AP5.5\temp\;C:\WINDOWS\Temp\" <Directory "E:/UPUPW_AP5.5/vhosts/www.hosts.my"> Options FollowSymLinks AllowOverride All Require all granted </Directory> <LocationMatch "/(inc)/(.*)$"> Require all denied </LocationMatch> <LocationMatch "/(attachment|attachments|uploadfiles|avatar)/(.*).(php|php5|phps|asp|asp.net|jsp)$"> Require all denied </LocationMatch> </VirtualHost>
相关文章推荐
- 用 Swift 编写面向协议的网络请求
- 通过tcpdump对iOS进行流量分析(无需越狱)
- http://crazysky.iteye.com/blog/764610
- 连接超时:连接。如果你在一个HTTP代理,请配置IDE或Gradle代理设置
- 当http连接池遇上keepalive
- http://blueram.iteye.com/blog/1583117
- Http总结
- 网络编码概述
- 多线程实现百度图片爬虫
- http://biancheng.dnbcw.info/java/138631.html
- AFNetworking进行https请求遇到的错误和解决方式
- Http幂等性
- 完成端口(CompletionPort)详解 - 手把手教你玩转网络编程系列之三
- windows下关闭TCP的Nagle纳格算法
- 链路层
- android http://dl-ssl.google.com/android/eclipse/访问不了
- Linux 网络基础和Socket
- AngularJS中$http.post问题
- UNIX网络编程——基本UDP套接字编程
- (转)TCP/IP协议三次握手与四次握手流程解析