甘竹溪
2013-4-19 12:03

刚安上了APMServ 5.2.6 ,但是apache就是启动不了。试了n种方法还是不管。不是端口被占用了,我更改了端口为8080,还是启动不了,求解,谢谢!
张老师求救啊
下面是通过阿帕奇转换的nginx伪静态规则
location / {rewrite ^/single/([a-zA-Z]+_*[0-9]*).html$ /single.php?f=$1;
rewrite ^/like/([0-9]+)$ /like.php?id=$1;
rewrite ^/topic/[0-9]+/([0-9]+_*[0-9]*).html$ /art.php?id=$1;
rewrite ^/[a-zA-Z]+/[a-zA-Z]+([0-9]+)$ /topic.php?id=$1;
rewrite ^/([a-zA-Z]+_*[0-9]*).html$ /type.php?id=$1;
rewrite ^/[a-zA-Z]+/[a-zA-Z]+([0-9]+_*[0-9]*).html$ /topic_list.php?id=$1;
}
重启nginx后 访问还是404 实在搞不明白了
----------------------------------------------------------------------------------------------------------------------
这是阿帕奇的伪静态规则
RewriteRule ^single/([a-zA-Z]+_*[0-9]*).html$ single.php\?f=$1
RewriteRule ^like\/([0-9]+)$ like.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+\/([0-9]+_*[0-9]*)\.html$ art.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+([0-9]+)$ topic.php\?id=$1
RewriteRule ^([a-zA-Z]+_*[0-9]*)\.html$ type.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+([0-9]+_*[0-9]*)\.html$ topic_list.php\?id=$1
下面是通过阿帕奇转换的nginx伪静态规则
location / {rewrite ^/single/([a-zA-Z]+_*[0-9]*).html$ /single.php?f=$1;
rewrite ^/like/([0-9]+)$ /like.php?id=$1;
rewrite ^/topic/[0-9]+/([0-9]+_*[0-9]*).html$ /art.php?id=$1;
rewrite ^/[a-zA-Z]+/[a-zA-Z]+([0-9]+)$ /topic.php?id=$1;
rewrite ^/([a-zA-Z]+_*[0-9]*).html$ /type.php?id=$1;
rewrite ^/[a-zA-Z]+/[a-zA-Z]+([0-9]+_*[0-9]*).html$ /topic_list.php?id=$1;
}
重启nginx后 访问还是404 实在搞不明白了
----------------------------------------------------------------------------------------------------------------------
这是阿帕奇的伪静态规则
RewriteRule ^single/([a-zA-Z]+_*[0-9]*).html$ single.php\?f=$1
RewriteRule ^like\/([0-9]+)$ like.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+\/([0-9]+_*[0-9]*)\.html$ art.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+([0-9]+)$ topic.php\?id=$1
RewriteRule ^([a-zA-Z]+_*[0-9]*)\.html$ type.php\?id=$1
RewriteRule ^[a-zA-Z]+\/[a-zA-Z]+([0-9]+_*[0-9]*)\.html$ topic_list.php\?id=$1
qq285009221
2013-4-15 23:08
您好,这个是我QQ 285009221,能不能加我+++,
QQ21482009
2013-4-13 22:48
您好 你的这个APMserv可以搭建ASP网站程序 吗?具体怎么操作 有教程吗 谢谢!!
小张
2013-4-10 23:04
www.rijiashiye.com
chi
2013-4-10 10:21
您好:
最近在讀您的作品Nginx 完全取代 Apache 超輕快強的WEB伺服器(台灣出版)
最近公司規劃
1.主WEB SITE在台北機房
2.另託管副WEB SITE在北京機房
3.建構二地互相備援
4.大陸網友訪問北京機房,其餘網友訪問台北機房
Q1:使用Nginx 技術做得到嗎?
Q2:做得到的話,網路架構應該如何架構?
Q3:可否提供建議做法?
最近在讀您的作品Nginx 完全取代 Apache 超輕快強的WEB伺服器(台灣出版)
最近公司規劃
1.主WEB SITE在台北機房
2.另託管副WEB SITE在北京機房
3.建構二地互相備援
4.大陸網友訪問北京機房,其餘網友訪問台北機房
Q1:使用Nginx 技術做得到嗎?
Q2:做得到的話,網路架構應該如何架構?
Q3:可否提供建議做法?
neil
2013-4-3 21:56
www.mangosweetie.com$5 novels store. We are reputable novel distributor.Please trust us and we would deliver your novels in time.
一帆
2013-4-2 11:55
你好 APM 怎么装不上 PHP_imagick.dll 扩展啊 求解
你好,最近在看您的书,非常的不错,但是其中有个问题想请教下,先谢谢了,问题如下:在nginx的做负载均衡服务器的双机高可用一节时,第一种方式下,即一台主服务器一台热备的情况下:正常情况下,主机61.1.1.4绑定了虚拟IP 61.1.1.2提供服务,假设机器61.1.1.4挂了,这时你在书中说到备机61.1.1.5将在几秒钟内接管虚拟主机61.1.1.2,并与自己绑定,那我想请问,备机是怎么知道主机挂了的,什么样的机制作用下备机可以在几秒钟处理过来?