Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

$B!I(BNon-root configuration$B!I(B of lighttpd::FastCGI doesn't work with Catalyst-Runtime-5.90002

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


n-a at u01

Sep 29, 2011, 4:30 AM

Post #1 of 2 (95 views)
Permalink
$B!I(BNon-root configuration$B!I(B of lighttpd::FastCGI doesn't work with Catalyst-Runtime-5.90002

Hi,

I use Catalyst from early days with the lighttpd/FastCGI.
Recently I update a Catalyst-Runtime from 5.80033 to 5.90002, and find
my application stop to work correct.
When I access 'http://my_server/myapp/', I got a "page not found" page.
There is an inconsistency of URL handling between two versions.



The situation is just the same for quite a simple "Hello" application
of Catalyst::Manual::Tutorial::02_CatalystBasics.
For lighttpd/FastCGI configuration, I follow $B!I(BNon-root configuration$B!I(B
part of
the Catalyst::Manual::Deployment::lighttpd::FastCGI.

Any suggestions?

Thanks.
N.A.





fastcgi-config of lighttpd
--
url.rewrite = ( "myapp\$" => "myapp/" )
fastcgi.server = (
"/myapp" => (
"MyApp" => (
# same as above
)
)
)
--

part of lighttpd log with Catalyst-Runtime-5.80033.
The 'myapp' part of URL is truncated.
--
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Path is "/"
[debug] Response Code: 200;
--

part of lighttpd log with Catalyst-Runtime-5.90002
The 'myapp' part of URL is treated as 'Arguments'.
--
[debug] "GET" request for "myapp/" from "127.0.0.1"
[debug] Path is "/"
[debug] Arguments are "myapp"
[debug] Response Code: 404;
--


_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


rdormer at myartplot

Sep 29, 2011, 5:51 PM

Post #2 of 2 (89 views)
Permalink
Re: ”Non-root configuration” of lighttpd::FastCGI doesn't work with Catalyst-Runtime-5.90002 [In reply to]

I have recently had a similar issue. You may want to try disabling the
"check-local" option in the fastcgi section of your lighttpd configuration.



2011/9/29 $B9S [at] n'BY(B <n-a [at] u01>

>
> Hi,
>
> I use Catalyst from early days with the lighttpd/FastCGI.
> Recently I update a Catalyst-Runtime from 5.80033 to 5.90002, and find
> my application stop to work correct.
> When I access 'http://my_server/myapp/', I got a "page not found" page.
> There is an inconsistency of URL handling between two versions.
>
>
>
> The situation is just the same for quite a simple "Hello" application
> of Catalyst::Manual::Tutorial::02_CatalystBasics.
> For lighttpd/FastCGI configuration, I follow $B!I(BNon-root configuration$B!I(B
> part of
> the Catalyst::Manual::Deployment::lighttpd::FastCGI.
>
> Any suggestions?
>
> Thanks.
> N.A.
>
>
>
>
>
> fastcgi-config of lighttpd
> --
> url.rewrite = ( "myapp\$" => "myapp/" )
> fastcgi.server = (
> "/myapp" => (
> "MyApp" => (
> # same as above
> )
> )
> )
> --
>
> part of lighttpd log with Catalyst-Runtime-5.80033.
> The 'myapp' part of URL is truncated.
> --
> [debug] "GET" request for "/" from "127.0.0.1"
> [debug] Path is "/"
> [debug] Response Code: 200;
> --
>
> part of lighttpd log with Catalyst-Runtime-5.90002
> The 'myapp' part of URL is treated as 'Arguments'.
> --
> [debug] "GET" request for "myapp/" from "127.0.0.1"
> [debug] Path is "/"
> [debug] Arguments are "myapp"
> [debug] Response Code: 404;
> --
>
>
> _______________________________________________
> List: Catalyst [at] lists
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst [at] lists/
> Dev site: http://dev.catalyst.perl.org/
>



--


--
Main Number - (617) 752-1714
http://www.MyArtPlot.com
All-in-one empowerment platform for the art industry and profession -
complete with social, professional, and commercial power.

MyArtPlot, LLC
Attn: General Mail
P.O. Box 960812
Boston, MA 02196

Please note that this e-mail contains information that may be confidential
and proprietary. It is to be read and used solely by the intended
recipient(s). MyArtPlot, LLC and its affiliates retain all proprietary
rights that they may have in the information. If you are not an intended
recipient, please notify us immediately by reply e-mail and please delete
this e-mail (including any attachments hereto) immediately without reading,
disseminating, distributing or copying. Cheers & Thank you.

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.