用户名: 密码: 忘记密码? 注册

* stage 环境phpmyadmin切换到apache上,用n..

作者:  时间: 2010-10-12
  • 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>