Why is Drupal writing to root and not sites/default/files?
Posted
by Candland
on Stack Overflow
See other posts from Stack Overflow
or by Candland
Published on 2010-05-31T22:11:54Z
Indexed on
2010/05/31
22:13 UTC
Read the original article
Hit count: 147
I'm using Drupal 6.14 on Win7. Everything seems to work except files that should be written to sites/default/files are trying to be written to /. The site was moved from a linux installation, which is writing the files correctly. I have setup a web.config w/ the rewrite rules for drupal. Not sure what or where else I should check. Thanks for any help.
<rule name="Drupal Clean URLs" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?q={R:1}" appendQueryString="true" />
</rule>
© Stack Overflow or respective owner