jimmy
2009-4-25 17:29
你好,长宴。我手头的两台服务器,分布在不同的位置。这种情况下,要想实现双机互备,自动切换,该如何操作呢。
jimmy
2009-4-25 15:21
我在看你的一篇关于双机热备的文章时,里面提到虚拟ip,我想请教的是什么是虚拟ip,如何来实现虚拟ip呢?
wky
2009-4-24 21:49
centos5.3在安装mysql的./configure --prefix=/usr/local/webserver/mysql/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=innobase这个命令时进行不下去了出现checking for termcap functions library... configure: error: No curses/termcap library found
不知道怎么解决,希望能帮我解决下。谢谢
不知道怎么解决,希望能帮我解决下。谢谢
ee
2009-4-23 13:39
你好,请问NGINX 中的SSI模块对parent paths的支持怎么配置? 或者说怎么去实现它的解析.比如说<!-- #include virtual="../../123.html" --> 这个不能正常解析! 而<!-- #include virtual="/a/123.html" -->是可以解析的
danls
2009-4-22 15:15
站长你好
你的apm非常不错
我使用你的 Nginx+php 使用IP能够正常访问
但是按网上说的绑定域名就不能正确了
代码如下
server {
listen 80;
server_name localhost;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
server {
listen 80;
server_name www.1.com;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs/1;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
server {
listen 80;
server_name www.2.com;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs/2;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
两个域名都在本地hosts文件中做了解析
你的apm非常不错
我使用你的 Nginx+php 使用IP能够正常访问
但是按网上说的绑定域名就不能正确了
代码如下
server {
listen 80;
server_name localhost;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
server {
listen 80;
server_name www.1.com;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs/1;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
server {
listen 80;
server_name www.2.com;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs/2;
autoindex on;
location ~ .*.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}
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 /APMServ5.2.6/nginx/logs/access.log access;
}
两个域名都在本地hosts文件中做了解析
小网
2009-4-20 20:28
你好. 我用的是REDHAT linux 企业版5 ,所有的配置过程都是照你的配置来的,可是执行/usr/local/webserver/php/sbin/php-fpm start的时候,总是提示-bash: /usr/local/webserver/php/sbin/php-fpm: 没有那个文件或目录.怎么解决????其他的能正常启动.