Httpd.ini是根据官方的写的。
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule /$ /? [L]
RewriteRule ^/topic/(.*) /\?\/topic/$1 [L]
RewriteRule ^/users/(.*) /\?\/users/$1 [L]
RewriteRule ^/notifications/(.*) /\?\/notifications/$1 [L]
RewriteRule ^/inbox/(.*) /\?\/inbox/$1 [L]
RewriteRule ^/follow/(.*) /\?\/follow/$1 [L]
RewriteRule ^/people/(.*) /\?\/people/$1 [L]
RewriteRule ^/setting/(.*) /\?\/setting/$1 [L]
RewriteRule ^/logout/(.*) /\?\/logout/$1 [L]
RewriteRule ^/publish/(.*) /\?\/publish/$1 [L]
RewriteRule ^/feature/(.*) /\?\/feature/$1 [L]
RewriteRule ^/home/(.*) /\?\/home/$1 [L]
RewriteRule ^/account/(.*) /\?\/account/$1 [L]
RewriteRule ^/login/(.*) /\?\/login/$1 [L]
RewriteRule ^/reader/(.*) /\?\/reader/$1 [L]
RewriteRule ^/search/(.*) /\?\/search/$1 [L]
RewriteRule ^/crond/(.*) /\?\/crond/$1 [L]
RewriteRule ^/admin/(.*) /\?\/admin/$1 [L]
RewriteRule ^/invitation/(.*) /\?\/invitation/$1 [L]
RewriteRule ^/m/(.*) /\?\/m/$1 [L]
RewriteRule ^/question/(.*) /\?\/question/$1 [L]
RewriteRule ^/category/(.*) /\?\/home/explore/category/$1 [L]
设置完后,发现无法访问。。
ISAPI_Rewrite3目录里还有一个空白的httpd.conf
这个是做什么用的?
还有,为什么我的网址是个?号
阅读全文
收起全文