admin/settings/file-system
文件系统的缓存地址设置错误会导致imagecache不能新建动作
文件系统的缓存目录
18 日 之前
drupal在nginx上的rewrite配置
19 日 之前
drupal的 clean url 需要rewrite支持,imagecache模块也需要rewrite支持。
server {
server_name www.lstk.net;
listen 80;
root /data/apps/lstk/blog;
index index.html index.htm index.php;
if ($fastcgi_script_name ~ \..*\/.*php) {
return 403;
}
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
}
location ~ .*.php$ {
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
expires 30d;
}
location ~ .*\.(js|css)?$ {
expires 1h;
}
location ^~ /sites/default/files/imagecache/ {
index index.php index.html;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last; break;
}
}
}
其中
location ^~ /sites/default/files/imagecache/ {
index index.php index.html;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last; break;
}
是用来支持imagecache模块的, 没有这一段的话,创建Preset的时候不会在 /sites/default/files/imagecache/ 文件夹下增加对应的目录,导致无法生成缩略图。而要命的是这个时候drupal没有任何错误提示。
推荐网站源码 - 游戏建站系统
47 日 之前
软件名称:快快游戏建站系统
版本号:1.0.1
关键字:KKSite,游戏站,快快游戏建站系统,cms
官方网站:http://kksite.kuaikuai.cn
论坛地址:http://bbs.kuaikuai.cn/forum-30-1.html
演示地址:http://kksite.kuaikuai.cn/demo/
下载地址:http://kksite.kuaikuai.cn/xzz/KKSite.zip
预览图片:http://kksite.kuaikuai.cn/xzz/home.jpg
软件类别:PHP+MYSQL/SQLite
KKSite简介: KKSite 是一套独立、免费的游戏网站系统,让站长可以瞬间搭建自己的游戏门户网站。 拥有金山快快的海量游戏数据支持,无需站长自己搭建游戏下载服务器。可随时自动同步最新游戏数据,无需站长人工录入。 所有游戏绿色安全,可以通过金山快快游戏客户端在网站一键运行,无需安装,比传统游戏网站更有优势! 强大、灵活的模板和文章管理机制,让站长可以随心所欲的定制站点,打造最具个性的游戏门户网站。
安装环境:
KKSite 具备跨平台特性,支持 Linux/Unix及Windows 2000/2003/ XP等操作系统。
可用的 web 服务器(如 Apache、Zeus、IIS 等)
php 4.x及以上
MySQL4.x及以上
特点简介:
1. 博客主机即可搭建游戏门户网站
无需购买昂贵的游戏下载服务器,快快游戏免费提供2T的游戏数据支持,普通的博客主机即可满足搭建游戏门户网站的条件。人人都可以做游戏站。
2. 自动同步最新游戏数据,无需站长人工录入
还将持续增长的六万多款游戏数据,囊括小游戏、单机游戏、模拟器游戏、网络游戏等游戏类型。站长可随时一键同步最新游戏数据,无需耗费人力手工录入。
3. 灵活的模板管理机制,可任意添加各种广告
强大灵活的文章和模板管理机制,完全能够满足自定义的个性化需求。广告位想怎么加就怎么加!
4. 游戏一点就玩,无需安装
所有游戏绿色、安全。可以通过金山快快游戏世界客户端在网站一键运行,无需下载安装,比传统游戏网站更有优势!
5. 程序免费授权、无需付费
提供完整的帮助、支持和升级服务,这一切都是免费的。
SEO学习笔记
49 日 之前
问:什么是隐含语义索引?
答:当蜘蛛爬取并下载站点页面后,隐藏语义索引(以下我们检查LSI)把下载网页的所有单词制作成一个列表,然后就是将一些没有语义的单词过滤(比如停 用词,过滤词等),然后再将站点所有的页面都做出单词列表。然后利用这些列表就可以做一个以页面(文档)为X轴,单词为Y轴的巨型矩阵。如果一个单词出现 在某个页面,那么对于的页面位置我们标为1,反之就为0。这样就可以很清晰的看到每个单词在整站页面出现的频率。
当然仅仅是靠这样是不能准确的技术的,那么LSI将引入一个关键词权重。1.关键词在页面出现的频率越高这个关键词在这个页面的权重就越高。2.就是整站关键词频率高的权重越低。
用统计工具来优化SEO
1. 通过来路,分析友情链接质量好坏
2. 通过keyword来分析挖掘长尾关键词
3. 分析跳出率,访问深度来 强化内链,优化整站结构
4. 了解自身网站内容的受欢迎程度,通过受访页面
5. 通过分析访问者详情,来优化,地区分布,浏览器,插件,分辨率
6. 新访问者,矛盾,新访问者越多说明SEO越好
7. 访问深度,越深说明粘度越高,大于10很牛,大于30有人在抓你网站
8. 设置转化路径,高级操作是b2c应用,初级的可以应用于,论坛注册,访问到联系我们页等
9. 跟踪关键词的点入率click in,来调整你的描述
常见问题:
1. 针对百度和谷歌看谁来安装统计数据。
2. 实时数据不重要。
3. 统计软件会公开统计数据。
4. 为什么UV数和IP数不一样,以什么为主要参考指标?答:uv
搜索引擎有投票机制,可以通过更改标题和描述来诱导用户点击同搜索页面你的网站。
Welcome to Your Site!
74 日 之前
What do you want to do next?
- Modify or even delete this article? The article list is the place to start.
- Change this site’s name, or modify the style of the URLs? It’s all up to your preferences.
- Get yourself acquainted with Textile, the humane web text generator which comes with Textpattern? The basics are simple. If you want to learn more about Textile, you can dig into an extensive manual later.
- Be guided through your Textpattern first steps by completing some basic tasks?
- Study the Textpattern Semantic Model?
- Add another user, or extend the capabilities with third party plugins you discovered from the central plugin directory at Textpattern Resources?
- Dive in and learn by trial and error? Then please note:
- When you write an article you assign it to a section of your site.
- Sections use a page template and a style as an output scaffold.
- Page templates use XHTML and Textpattern tags (like this:
<txp:article />) to build the markup. - Some Textpattern tags use forms, which are building blocks for reusable snippets of code and markup you may build and use at your discretion.
There are a host of Frequently Asked Questions to help you get started.
Textpattern tags, their attributes and values are as well explained as sampled at the Textbook Wiki, where you will also find valuable tips and tutorials.
If all else fails, there’s a whole crowd of friendly, helpful people over at the Textpattern support forum. Come and pay a visit!
评论 [1]