当前位置:首页 > 运维笔记 > 合优网 > 正文内容

合优网 网站伪静态记录

www.cqhc.cn

include /www/wwwroot/www.cqhc.cn/rewrite.txt;


a.cqhc.cn

location / {
	index index.html index.htm;
	try_files $uri $uri/ /index.html;
}


rc.cqhc.cn

location /h5 {
	index index.html index.htm;
	try_files $uri $uri/ /h5/index.html;
}
location / {
rewrite ^([^\.]*)/job_list[/]?$ $1/index.php?m=work&c=list last;
rewrite ^([^\.]*)/concurrent_list[/]?$ $1/index.php?m=work&c=list&type=2 last;
rewrite ^([^\.]*)/resumes_list[/]?$ $1/index.php?m=resumes&c=list last;
rewrite ^([^\.]*)/companys_list[/]?$ $1/index.php?m=companys&c=list last;
rewrite ^([^\.]*)/zph[/]?$ $1/index.php?m=fair_net&c=list last;
rewrite ^([^\.]*)/job/([0-9]+)[/]?$ $1/index.php?m=work&c=view&wid=$2 last;
rewrite ^([^\.]*)/resumes/([0-9]+)[/]?$ $1/index.php?m=resumes&c=view&rid=$2 last;
rewrite ^([^\.]*)/companys/([0-9]+)[/]?$ $1/index.php?m=companys&c=view&cid=$2 last;
rewrite ^([^\.]*)/zph/([0-9]+)[/]?$ $1/index.php?m=fair_net&c=view&fid=$2 last;
rewrite ^([^\.]*)/article/([0-9]+)[/]?$ $1/index.php?m=article&c=view&aid=$2 last;
rewrite ^([^\.]*)/login[/]?$ $1/index.php?m=account&c=login last;
rewrite ^([^\.]*)/member/com[/]?$ $1/index.php?m=member&c=com last;
rewrite ^([^\.]*)/member/com/work[/]?$ $1/index.php?m=member&c=com_work last;
rewrite ^([^\.]*)/member/com/work/data[/]?$ $1/index.php?m=member&c=com_work_data last;
rewrite ^([^\.]*)/member/com/resume/received[/]?$ $1/index.php?m=member&c=com_resume_received last;
rewrite ^([^\.]*)/member/com/resume/down[/]?$ $1/index.php?m=member&c=com_resume_down last;
rewrite ^([^\.]*)/member/com/resume/collect[/]?$ $1/index.php?m=member&c=com_resume_collect last;
rewrite ^([^\.]*)/member/com/resume/interview[/]?$ $1/index.php?m=member&c=com_resume_interview last;
rewrite ^([^\.]*)/member/com/vip[/]?$ $1/index.php?m=member&c=com_vip_pay last;
rewrite ^([^\.]*)/member/com/data[/]?$ $1/index.php?m=member&c=com_data last;
rewrite ^([^\.]*)/member/resume[/]?$ $1/index.php?m=member&c=resume last;
rewrite ^([^\.]*)/member/resume/com/interview[/]?$ $1/index.php?m=member&c=resume_com_interview last;
rewrite ^([^\.]*)/member/resume/work/apply[/]?$ $1/index.php?m=member&c=resume_work_apply last;
rewrite ^([^\.]*)/member/resume/work/collect[/]?$ $1/index.php?m=member&c=resume_work_collect last;
rewrite ^([^\.]*)/member/resume/com/follow[/]?$ $1/index.php?m=member&c=resume_com_follow last;
rewrite ^([^\.]*)/member/resume/browse[/]?$ $1/index.php?m=member&c=resume_browse last;
rewrite ^([^\.]*)/member/resume/com/shield[/]?$ $1/index.php?m=member&c=resume_com_shield last;
rewrite ^([^\.]*)/member/resume/data[/]?$ $1/index.php?m=member&c=resume_data last;
rewrite ^([^\.]*)/member/resume/work[/]?$ $1/index.php?m=member&c=resume_work last;
rewrite ^([^\.]*)/member/resume/edu[/]?$ $1/index.php?m=member&c=resume_edu last;
}


app.cqhc.cn

location / {
 if (!-e $request_filename){
  rewrite  ^(.*)$  /index.php?s=$1  last;   break;
 }
}



api.cqhc.cn tool.cqhc.cn tool.cqhc.cn c.cqhc.cn d.cqhc.cn

location ~* (runtime|application)/{
	return 403;
}
location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}



fc.cqhc.cn

location /h5 {
	index index.html index.htm;
	try_files $uri $uri/ /h5/index.html;
}
location / {
rewrite ^([^\.]*)/loupan/list[/]?$ $1/index.php?m=build&c=list last;
rewrite ^([^\.]*)/esf[/]?$ $1/index.php?m=info&c=house last;
rewrite ^([^\.]*)/zu[/]?$ $1/index.php?m=info&c=lease last;
rewrite ^([^\.]*)/shops[/]?$ $1/index.php?m=info&c=shops last;
rewrite ^([^\.]*)/xiaoqu/list[/]?$ $1/index.php?m=community&c=list last;
rewrite ^([^\.]*)/agent[/]?$ $1/index.php?m=agent&c=list last;
rewrite ^([^\.]*)/loupan/([0-9]+)[/]?$ $1/index.php?m=build&c=view&id=$2 last;
rewrite ^([^\.]*)/info/([0-9]+)[/]?$ $1/index.php?m=info&c=view&id=$2 last;
rewrite ^([^\.]*)/community/([0-9]+)[/]?$ $1/index.php?m=community&c=view&id=$2 last;
rewrite ^([^\.]*)/member/([0-9]+)[/]?$ $1/index.php?m=member&c=view&id=$2 last;
rewrite ^([^\.]*)/article/([0-9]+)[/]?$ $1/index.php?m=article&c=view&id=$2 last;
rewrite ^([^\.]*)/login[/]?$ $1/index.php?m=account&c=login last;
rewrite ^([^\.]*)/member/index[/]?$ $1/index.php?m=member&c=index last;
rewrite ^([^\.]*)/member/info[/]?$ $1/index.php?m=member&c=info last;
rewrite ^([^\.]*)/member/info/browse[/]?$ $1/index.php?m=member&c=info_browse last;
rewrite ^([^\.]*)/member/info/collect[/]?$ $1/index.php?m=member&c=info_collect last;
rewrite ^([^\.]*)/member/build/browse[/]?$ $1/index.php?m=member&c=build_browse last;
rewrite ^([^\.]*)/member/build/follow[/]?$ $1/index.php?m=member&c=build_follow last;
rewrite ^([^\.]*)/member/vip[/]?$ $1/index.php?m=member&c=agent_vip_pay last;
rewrite ^([^\.]*)/member/agent/data[/]?$ $1/index.php?m=member&c=agent_data last;
}


“合优网 网站伪静态记录” 的以下内容与本文无关

简单说两句

访客

◎ 不想说话可以不说,说了便要负责!