你在这里

drupal7 iis 下 iis_rewrite 图片综略图不显示问题?

主标签

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 版本: 

猜你喜欢