* stage 环境phpmyadmin切换到apache上,用n..
nginx.conf
server {
listen 222.73.115.98:80;
server_name dbstage.yoohouse.com;
# root /var/www/html/phpmyadmin;
index index.php index.htm index.html;
access_log off;
location /{
proxy_pass http://dbstage;
}
}
httpd.conf
<VirtualHost 10.2.2.254:80>
ServerName dbstage.yoohouse.com
DocumentRoot /var/www/html/phpmyadmin
<Directory /var/www/html/sorry>
Options None
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
作者: sxxs001
发布时间: 2010-10-12