该问题已被锁定!
4
关注
2430
浏览

测试插入代码,似乎是个bug

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
大圣SoLo 初级会员 用户来自于: 浙江省宁波市慈溪市
2014-10-14 09:02
[size=16] Enable this to restrict editing to logged in users only[/size]

[size=16] You should disable Indexes and MultiViews either here or in the[/size]
[size=16] global config. Symlinks maybe needed for URL rewriting.[/size]
#Options -Indexes -MultiViews +FollowSymLinks

[size=16] make sure nobody gets the htaccess, README, COPYING or VERSION files[/size]
[\._]ht|README$|VERSION$|COPYING$)">
    Order allow,deny
    Deny from all



deny from all

DirectoryIndex 首页 index.php index.asp index.jsp
order deny,allow

[size=16] Uncomment these rules if you want to have nice URLs using[/size]
[size=16] $conf['userewrite'] = 1 - not needed for rewrite mode 2[/size]
RewriteEngine on

RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php
#
[size=16] Not all installations will require the following line.  If you do,[/size]
[size=16] change "/dokuwiki" to the path to your dokuwiki directory relative[/size]
[size=16] to your document root.[/size]
RewriteBase /
#
[size=16] If you enable DokuWikis XML-RPC interface, you should consider to[/size]
[size=16] restrict access to it over HTTPS only! Uncomment the following two[/size]
[size=16] rules if your server setup allows HTTPS.[/size]
#RewriteCond %{HTTPS} !=on
#RewriteRule ^lib/exe/xmlrpc.php$      https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]

AWSupport 初级会员 用户来自于: 广东省深圳市
2014-10-13 14:47

百度一下,你就知道