[Dancer-users] Stylesheet sometimes missing when using Dancer with Starman

nick langridge nicklangridge at hotmail.com
Tue Nov 2 11:41:06 CET 2010


> This issue has been fixed in master some time ago. We will be releasing a new version today that include only this fix.

Thats great. 

I found that this was only a problem for testing with Starman, in production I can use nginx to serve the static content and everything is ok.

Cheers,
Nick 

Date: Tue, 2 Nov 2010 11:34:41 +0100
Subject: Re: [Dancer-users] Stylesheet sometimes missing when using Dancer with Starman
From: franck at lumberjaph.net
To: nicklangridge at hotmail.com
CC: dancer-users at perldancer.org

Hi


On Mon, Nov 1, 2010 at 3:26 PM, nick langridge <nicklangridge at hotmail.com> wrote:






Franck, yes all my versions are the latest:

Dancer 1.1901
Starman 0.2007
Plack 0.9951

Deepak, yes it looks like CSS served as text/plain - header info:

Content-Type: text/plain
Transfer-Encoding: chunked

Date: Mon, 01 Nov 2010 14:23:23 GMT
Connection: keep-alive
200 OKMaybe this is the issue?

Date: Mon, 1 Nov 2010 15:13:32 +0100
Subject: Re: [Dancer-users] Stylesheet sometimes missing when using Dancer with Starman

From: franck at lumberjaph.net
To: nicklangridge at hotmail.com


Hi Nick
we  had a similar issue with Dancer + Starman some time ago that was fixed in one of our latest version. Are you using the last version from CPAN ?

On Mon, Nov 1, 2010 at 3:10 PM, nick langridge <nicklangridge at hotmail.com> wrote:







Hi,

I'm trying to run my Dancer app using Starman, eg:

$  plackup -s Starman ./App.pl
2010/11/01-17:03:19 Starman::Server (type Net::Server::PreFork) starting! pid(5175)
Binding to TCP port 5000 on host *


Setting gid to "1002 1002 27 1002"
Starman: Accepting connections at http://*:5000/

When I browse my app, most of the time the page renders without the CSS file. Occasionally it works correctly. If I browse directly to the css file (/css/style.css), it seems to be served ok. 



If I use Plack without Starman it all works fine.

Any ideas whats happening?

Cheers,
Nick

 		 	   		  

_______________________________________________

Dancer-users mailing list

Dancer-users at perldancer.org

http://www.backup-manager.org/cgi-bin/listinfo/dancer-users



 		 	   		  

_______________________________________________

Dancer-users mailing list

Dancer-users at perldancer.org

http://www.backup-manager.org/cgi-bin/listinfo/dancer-users



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20101102/44d9acd6/attachment.htm>


More information about the Dancer-users mailing list