write down,forget
标签 Tag : rewrite

godaddy+qeephp的rewrite配置

<Category: PHP> Comments Off on godaddy+qeephp的rewrite配置

不知道什么原因,godaddy服务器抽风,php环境变量的doc_root及temp变量的路径和实际的路径对应不上,另外rewrite也出问题。
N年不玩qeephp,折腾了一会,记录一下:

根目录修改php.ini

qeephp配置文件/config/environment.yaml里
url_mode确保为rewrite

站点根目录.htaccess

本文来自: godaddy+qeephp的rewrite配置

nginx相关配置与WordPress的Rewrite Rule

<Category: Linux> Comments Off on nginx相关配置与WordPress的Rewrite Rule

nginx的cofig里加上:

阻止对文件的访问:

nginx泛域名需要在编译时加上参数: –with-http_sub_module
nginx配置: server_name www.yourdomain.com *.yourdomain.com;

本文来自: nginx相关配置与WordPress的Rewrite Rule