<div dir="ltr">I just found this in the Drupal upload module...<br><br>$form[&#39;#attributes&#39;][&#39;enctype&#39;] = &#39;multipart/form-data&#39;;<br><br>Does this mean I need to have the Nginx Upload mod installed?<br>
<br><br clear="all">-- Adam<br><br>&quot;Courage is not the absence of fear, but rather the judgment that something else is more important than fear.&quot; — Ambrose Redmoon<br>
<br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 11:03 AM, Adam Setzler <span dir="ltr">&lt;<a href="mailto:adam.setzler@gmail.com">adam.setzler@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">I apologize for being lazy... Here is my actual rewrite from the sites-available dir, which includes that preceding slash...<br><br>location / {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!-e $request_filename) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewrite ^/(.*)$ /index.php?q=$1 last;<div class="Ih2E3d">
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br><br clear="all">-- Adam<br><br>&quot;Courage is not the absence of fear, but rather the judgment that something else is more important than fear.&quot; — Ambrose Redmoon<br>
<br><br></div><div><div></div><div class="Wj3C7c"><div class="gmail_quote">On Sat, Aug 23, 2008 at 9:55 AM, Roxis <span dir="ltr">&lt;<a href="mailto:roxis@list.ru" target="_blank">roxis@list.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Saturday 23 August 2008, Adam Setzler wrote:<br>
&gt; Upon further inspection, I am getting a 405 when POST is submitting to a<br>
&gt; Drupal module and Clean URL is enabled. &nbsp;It works fine without Clean URLs.<br>
&gt; It is an AJAX form that submits to /upload/js (clean) OR<br>
&gt; index.php?q=upload/js (dirty).<br>
&gt;<br>
&gt; My rewrite is ^/(.*)$ index.php?q=$1<br>
<br>
</div>add a slash before index.php<br>
<br>
rewrite &nbsp; &nbsp;^/(.*)$ &nbsp; &nbsp;/index.php?q=$1<br>
<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>