跳转到主要内容
资深游侠 提交于 26 March 2014

win2003主机,安装drupal7,isapi_rewrite 3.0后开启clean url,一切正常。但发现上传图片后,后台显示的综略图变成X。

 

RewriteBase  #  Accept a url with the following directories and pass them through unchanged. RewriteRule ^/(?:misc|files|modules|themes|sites|uploads)/(.*)$ $0 [NC,L]   #  Accept a url with the following extensions and pass them through unchanged. RewriteRule ^(.*.gif|.*.png|.*.jpg|.*.pdf|.*.js|.*.css)$ $1 [NC,L] #  Make URLs sane RewriteRule ^/cron\.php$ $0 [NC,L] RewriteRule ^/index\.php.*$ $0 [NC,L] RewriteRule ^/update\.php.*$ $0 [NC,L] RewriteRule ^/xmlrpc\.php$ $0 [NC,L]   #  deactivate following line if "robotstxt" module is installed # RewriteRule /robots\.txt.* $0 [I,L]   RewriteRule ^/(.*)\?(.*)$ /index.php\?q=$1&$2 [NC,L] RewriteRule ^/(.*)$ /index.php\?q=$1 [NC,L]  
Drupal 版本