httpd.ini 是apache的配置文件,根据你说的discuz应该是php编码的。 而apache是处理静态页面能力比较优秀。但是具体设置还是要到discuz得官方论坛区去提问哦。。 这里非专业地方 只能写这么多了 要上班
你应该说清楚是net版本的dz 还是php版本的dz
以及你的空间服务器是linux还是windows
这样才可以教你
叫你上传httpd.ini的话 应该是windows服务器
就没见过楼上这么白痴的
回楼主:httpd.ini,通常就是指windows下用到rewrite组件伪静态时的规则文件,其实跟Linux的没什么区别的,我这里发一段关于discuz论坛的httpd.ini的例子你看看,你应该就能明白的了,或者你到百度搜索“discuz httpd.ini 代码”,当然规则是由程序员在设计程序时已经定好的。
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Discuz4.10或5.0/5.5/6.0论坛 Rewrite规则
RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html\?*(.*)$ $1/viewpro\.php\?$2=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2