global redirect 和 nginx的冲突
似乎需要停用global redirect下的 从unclean url定向到clean url的选项。
似乎需要停用global redirect下的 从unclean url定向到clean url的选项。
似乎需要停用global redirect下的 从unclean url定向到clean url的选项。
So it seems we are already fully compatible with Boost with enabled pre-gzipping if the Nginx version used has gzip_static available and enabled. Thanks!
http://groups.drupal.org/node/84519#comment-263069
Making files/languages directory writable solves the problem
geo_ego - September 3, 2008 - 09:55Making "sites/default/files/languages" directory writable solves the problem.
See my reply for comment above for details:
http://drupal.org/node/229395#comment-938978
http://drupal.org/patch/apply
Provided that the patch was made relative to the root directory of the concerned project, navigate to the that directory (using cd). For a patch on Drupal, that will be the Drupal directory; for a contrib module or theme, that is the root directory of the project. Once there, issue the command:
patch -p0 < path/file.patch
在启动drupal的时候添加其他模块添加css的方法可能是
/**
* Implementation of hook_init
*/
function tagadelic_init() {
drupal_add_css(drupal_get_path('module', 'tagadelic') .'/tagadelic.css');
}
nginx的conf中写好了,静态文件包括boost cache直接给nginx处理。php相关的给后台的php-cgi。
下面是挺早的一个例子了。有参考价值。现在大部分情况不需要这么搞了吧。
http://www.lullabot.com/articles/using-lighttpd-static-file-...
Simpler approach
I use a much simpler approach.
(1) Set up a fast http server on a different port or different server (I wrote my own).
(2) Redirect requests to static files (like files in the /files folder or images) via mod_rewrite to this server.
But anyway, think it's a very useful idea to have different servers here!
http://drupal.org/project/evalwf
via http://joom.net.ru/content/webformzai-xian-diao-cha-ban-lv
我现在使用quiz来达到这类题型。我也挺满意的。搜索一下 drupal quiz personality test 就可以找到参考资料