On Sun, Mar 1, 2009 at 11:27 AM, Alvaro Lopez Ortega <[email protected]> wrote:


> The "Check File" checkbox (in the FastCGI configuration) points Cherokee
> the type of setup. If there is something wrong with the paths passed to the
> FastCGI, it might be because of this. Could you please check whether the
> option is set correctly?
>

So I've removed the check from the Check File checkbox and it now attempts
to 301 redirect the request to /service. e.g.
http://dev.amp.fm/service/search/return-events-by-location/?location=salt+lake+city&topic=%7C&time_scope=next_7_days&format=atom

... returns:

$ curl -i "
> http://dev.amp.fm/service/search/return-events-by-location/?location=salt+lake+city&topic=%7C&time_scope=today&format=atom
> "
>
HTTP/1.1 301 Moved Permanently
>
Connection: Keep-Alive
>
Keep-Alive: timeout=20
>
Date: Sun, 01 Mar 2009 18:35:20 GMT
>
Server: Cherokee/0.99.1 (UNIX)
>
Location: http://dev.amp.fm/service/
>
Connection: close
>
Date: Sun, 01 Mar 2009 18:35:20 GMT
>
Content-Type: text/html; charset=us-ascii
>
Content-Length: 259
>

> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>
<html><head>
>
<title>301 Moved Permanently</title>
>
</head><body>
>
<h1>Moved Permanently</h1>
>
<p>The document has moved to <a href='http://dev.amp.fm/service/'>
> http://dev.amp.fm/service/</a>.</p>
>
</body></html>


This is using the Directory rule type.

-- 
/M:D

M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected]
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm |
http://www.oreillynet.com/pub/au/2354 |
http://broadcast.oreilly.com/m-david-peterson/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to