【发布时间】:2012-01-31 07:51:16
【问题描述】:
任何人都可以帮助我,我想从
重写 url到
http://localhost/auditsi/cms3/jobseeker/myaccount/view_front/lWU=
/auditsi/cms/ 是目录。
我在这里重写:
location / {
}
location /auditsi/cms3/ {
index index.php index.html;
rewrite ^(.*)/(.*)/(.*)$ /index.php?dirMod=$1&dirAct=$2&dirPref=$3 break;
}
我从 wiki nginx 学习过,但从未成功:(
请帮帮我。
【问题讨论】:
-
您没有忘记原始网址中的问号吗?
-
ops..对不起,我错了。好的网址是localhost/auditsi/cms3/…,但我的问题是一样的:(