<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;<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 class="gmail_quote">On Sat, Aug 23, 2008 at 9:55 AM, Roxis <span dir="ltr">&lt;<a href="mailto:roxis@list.ru">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 class="Ih2E3d">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>