lsunshine
2013-4-24 11:37
hi,张老师我在弄Nginx+PHP时遇到一个问题。通过web页面访问的php页面不能够执行自己打印log的功能。但是通过php index.php这样的访问方式局可以打印log
hbycwp
2013-4-22 03:21
http://blog.s135.com/nginx_php_v6/张老师,3、编译安装PHP(FastCGI模式),在这一步的时候出现了错误,我的系统是CentOS6.4 X86_64位的,能否写个64位系统的教程呀, 64位跟32位安装的时候需要修改哪些,能否提供下,非常感谢...
十斤
2013-4-21 17:36
请问 。。张老师
。。你是怎么实现 只能在linux平台下 。。。特定的工具下 。。实现下载的?
。。你是怎么实现 只能在linux平台下 。。。特定的工具下 。。实现下载的?
甘竹溪
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:可否提供建議做法?