8月
27
XAMPP Authentication required
突然发现XAMPP总是莫名其妙的需要验证: 访问不存在的链接,不报404,却返回401,搞的人很是郁闷: wget http://localhost/in.txt --2013-08-27 20:09:58-- http://localhost/in.txt Resolving localhost... 127.0.0.1 Connect … Continue reading
突然发现XAMPP总是莫名其妙的需要验证: 访问不存在的链接,不报404,却返回401,搞的人很是郁闷: wget http://localhost/in.txt --2013-08-27 20:09:58-- http://localhost/in.txt Resolving localhost... 127.0.0.1 Connect … Continue reading
旧的结构是: /archives/%year%/%monthnum%/%day%/%post_id% 很长很复杂,修改个简单的: /archives/%post_id%.html 或者 /article-%post_id%.html 改完之后,用旧的链接结构肯定不能访问了。先去百度修改方法,用的搜索词是“wordpress更换固定链接结构 … Continue reading
防盗链测试成功,代码如下: #图片防盗链 deny from all order deny,allow RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ [NC] RewriteCond %{HTTP_REFERER} !tecbbs.com [NC] RewriteCond %{HTTP_ … Continue reading