军哥,求救
我绑定了一个新目录:aaa.mydomain.com到aaa目录下,现在我想通过aaa.mydomain.com访问otherdomain.com,也就是域名转发,通过设置aaa.mydomain.com.conf,设置不好,域名dns上也无法实现域名转发,htaccess也实现不了,怎么办呢?是不是aaa.mydomain.com.conf文件修改的不对啊?
server
{
listen 80;
rewrite ^(.*) http://www.xxx.org permanent;
location ~ .*\.(php|php5)?$
{
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
………………………… 设置301就行了https://bbs.vpser.net/thread-7339-1-1.html 军哥,按照这样的设置,怎么不行呢。我需要将二级域名 aaa.domain.com转发到 otherdomain.com/cgi?123
怎么搞?谢了 军哥在吗?自己顶一下
页:
[1]