Typecho Rewrite文件
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
阿司匹林 2060fe2257 README修改 4 months ago
Apache apache配置上传 4 months ago
README.md README修改 4 months ago


Typecho 博客系统伪静态配置


1. 启用rewrite模块

sudo a2enmod 输入 rewrite

2. 修改apache2.conf

路径: /etc/apache2/apache2.conf; 找到对应目录下的配置 AllowOverride None修改为AllowOverride All;

3. 添加.htaccess 并激活

克隆或者复制本仓库Apache下的.htaccess文件至网站根目录; 重启Apache2 sudo service apache2 restart;