| From | Sent On | Attachments |
|---|---|---|
| Adam Setzler | Aug 22, 2008 10:08 pm | |
| Adam Setzler | Aug 23, 2008 7:43 am | |
| Roxis | Aug 23, 2008 7:55 am | |
| Adam Setzler | Aug 23, 2008 9:03 am | |
| Adam Setzler | Aug 23, 2008 9:07 am | |
| mike | Aug 23, 2008 9:43 am | |
| Adam Setzler | Aug 23, 2008 11:55 am | |
| Adam Setzler | Aug 23, 2008 11:57 am | |
| Roxis | Aug 23, 2008 12:21 pm |
| Subject: | Re: Connection reset by server | |
|---|---|---|
| From: | Adam Setzler (adam...@public.gmane.org) | |
| Date: | Aug 23, 2008 9:03:06 am | |
| List: | ru.sysoev.nginx | |
I apologize for being lazy... Here is my actual rewrite from the sites-available dir, which includes that preceding slash...
location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 last; } }
-- Adam
"Courage is not the absence of fear, but rather the judgment that something else is more important than fear." — Ambrose Redmoon
On Sat, Aug 23, 2008 at 9:55 AM, Roxis <rox...@list.ru> wrote:
On Saturday 23 August 2008, Adam Setzler wrote:
Upon further inspection, I am getting a 405 when POST is submitting to a Drupal module and Clean URL is enabled. It works fine without Clean URLs. It is an AJAX form that submits to /upload/js (clean) OR index.php?q=upload/js (dirty).
My rewrite is ^/(.*)$ index.php?q=$1
add a slash before index.php
rewrite ^/(.*)$ /index.php?q=$1





