添加留言
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]
               

 
左岸挂居 Email Homepage
2010-5-1 16:46
张老师:
     你好!
     如果我想让系统执行.do文件,应该怎么设置,我用的是apmserv5.2.6把do文件改成php来执行?
     谢谢!
     在下做了一个网站,不过比起你的技术,相差甚远,http://wzoan.com
羽飞 Email Homepage
2010-4-30 09:24
nginx如果定制自己的索引页面呢?
jason
2010-4-28 20:23
张老大,问你个问题:我用curl工具查询了你的首页,知道你的首页设置了expires
curl -I www.6curl.com
HTTP/1.1 200 OK
Date: Wed, 28 Apr 2010 12:12:34 GMT
Server: Apache
X-Powered-By: PHP/5.2.13
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Last-Modified: Wed, 28 Apr 2010 12:12:34 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
但是我在我的nginx服务器上也设置了expires,但是用curl工具却查不到expires,不知是那出错了,张老大帮我看看吧
nginx的expires设置如下:
server
  {
    listen       80;
    server_name  *.*.*.*;
    index index.html index.htm index.php;
    root  /data0/htdocs/wordpress;

    #limit_conn   crawler  20;

    location ~ .*.(php|php5)?$
    {
      #fastcgi_pass  unix:/tmp/php-cgi.sock;
      fastcgi_pass  127.0.0.1:9000;
      fastcgi_index index.php;
      include fcgi.conf;
    }
    location ~* ^.+.(gif|jpg|jpeg|png|bmp|swf|html)$
    {
      expires      30d;
    }

    location ~* ^.+.(js|css)?$
    {
      expires      1h;
    }

    log_format  access  '$remote_addr - $remote_user [$time_local] "$request" '
              '$status $body_bytes_sent "$http_referer" '
              '"$http_user_agent" $http_x_forwarded_for';
    access_log  /data1/logs/access.log  access;
      }

curl的查询结果如下:
HTTP/1.1 200 OK
Server: nginx/0.8.15
Date: Wed, 28 Apr 2010 20:21:43 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.2.10
涂涂 Email
2010-4-28 18:53
shy张宴哥,请问你有没有想过用windows下作nginx的生产环境???我自己做了一个但是一直环境不稳定(因为自己不怎么会linux环境) 所以想请宴哥做一个windows下的nginx生产环境,希望张宴哥能做一个出去,用win下作服务器的也很多啊....
xI4oh4o Email Homepage
2010-4-27 23:56
请问如果用FastCGI跑php,而用户会一直开着一个窗口页面,这样就经常造成php-cgi并发的不够用,请问有什么办法能够解决吗,还是只能开更多的php-cgi进程来维持
菜鸟小五
2010-4-27 21:18
为什么我安装装好APMServ 5.2.6 后,为何不能运行ASP文件?
打开本地网址后只出现文件列表。我该怎么处理?
鱼皮 Email
2010-4-25 20:40
张先生:

      您好!

  我是一家网络公司的人负责人,无意中看到你的技术博客,对您的技术很是佩服。我公司现正在策划一个大型地方电子商务平台,现在由于种种原因,找不到合适的技术人员,所以想和你交个朋友,向您咨询一些技术问题,当然我会支付一定的费用。

  我的QQ:18751821   邮箱:fish1862@gmail.com 。 手机:13182816862 期盼你的回音。
laurance
2010-4-23 22:48
Norton SEP报vi.exe有病毒。经过对比,在AppServ、APMServ、XAMPP中,最后还是决定用APMServ,但是偏偏又病毒。郁闷坏了……
TBS
2010-4-23 20:20
真的学死人了。路由交换还没弄好~~见到linux又是一大块~~~~强悍
留下个QQ 248828412 与广大好友交流
learn
2010-4-23 01:53
高手啊,无意中看到你的帖子,很羡慕你的技术,不知道收不收徒弟,想认个师傅
分页: 2291/2376 第一页 上页 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 下页 最后页