如何安装nginx第三方模块
1个回答
展开全部
boost安装,apache跟nginx没什么很大的区别1,在Administer>Configuration>Searchandmetadata>CleanURLs开启伪静态2,解压boost到sites/all/modules,并且开启3,到Administer>Configuration>Development>Performance屏蔽drupal核心匿名用户缓存。4,在Administer>Configuration>System>Boost>BoostSettings设置boost5,在Administer>Configuration>System>Boost>FileSystem确保缓存的文件夹有写权限。最起码是775,6,你可以备份根目录的.htaccess文件,然后在Administer>Configuration>System>Boost>.htaccess>.htaccessGeneration里面,拷贝drupal规则进去#RewriteBase/-------pastetherulesrighthere--------#RewriteURLsoftheform'x'totheform'index.php?q=x'.#Passallrequestsnotreferringdirectlytofilesinthefilesystemto#index.php.CleanURLsarehandledindrupal_environment_initialize().RewriteCond%{REQUEST_FILENAME}!-fRewriteCond%{REQUEST_FILENAME}!-dRewriteCond%{REQUEST_URI}!=/favicon.icoRewriteRule^index.php[L]
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询