@qloog, 主題:UCDCHINA 沒用評論插件
]]>@翔云, nginx.conf文件在vps/usr/local/nginx/conf。偽靜態單獨放在/usr/local/nginx/conf下面創建一個文件,如discuz.conf,在虛擬主機server段里直接include discuz.conf; 重啟nginx即可。如果不會弄的話/root/vhost.sh 添加吧。
]]>RewriteCond %{REQUEST_FILENAME} \.(html|jpg|gif|jpeg|js|css|png|swf|sql|xml|txt)$
RewriteRule . - [PT,L]
RewriteRule ^(api/|admin\.php|index\.php|favicon\.ico) - [PT,L]
RewriteRule ^(system) - [F,L]
RewriteRule .* index.php/$0 [PT,L]
呵呵,謝謝分享
]]>