- see dancer, like it. - download dancer, create a new dance, become amazed. - start converting existing app to a full-on dance. - suddenly be struck by a thought -- how am I going to have several dances on the same dance floor? - ask on IRC, and am directed to the dance deployment manual. See that I require Plack. - fire cpan, install Plack, and get caught in a dependency circle from hell... everyone and his moose is being installed. Installation fails. - back to original app. - time passes, learn about cpanminus, so download and install cpanm. - fire cpanm, install Plack, and am successful! - use Plack::Loader, and am dancing with apache, but have to screw around with RewriteRules. Also, seems slower than a pure dance. - Want to run many dances on the same dance floor, fast, with least hassles. - back to deployment manual. See I can use proxypass with virtualhost. but no virtualhosts on my laptop... only localhost/dir1, localhost/dir2 and so on. - notice fcgi, think, maybe that is faster although it still requires RewriteRules - check installation, see there is no dispatch.fcgi in the scaffolding - look through the source code, and create a dispatch.fcgi - config apache with fcgi, and get caught in a redirect loop. mailing list arrives... ahhh. Now, I can hope for another dance. Here's hoping that the first impression of dancer, which is complete delight and amazement, can continue on as the application matures, and the reality of hosting multiple applications on a typically shared web host settles in. By the way, thanks to the creators of dancer for blowing in a breath of fresh air in the world of Perl web applications. -- Puneet Kishor
Le dimanche 07 mars 2010 à 13:23 -0600, P Kishor a écrit :
- see dancer, like it. - download dancer, create a new dance, become amazed. - start converting existing app to a full-on dance. - suddenly be struck by a thought -- how am I going to have several dances on the same dance floor?
I'd go for a bunch of VirtualHosts, each of them either with a FastCGI dispatcher, or a proxy_balancer.
- ask on IRC, and am directed to the dance deployment manual. See that I require Plack. - fire cpan, install Plack, and get caught in a dependency circle from hell... everyone and his moose is being installed. Installation fails.
This is strange, Plack does not depend on Moose at all... http://deps.cpantesters.org/?module=Plack;perl=latest
- back to original app. - time passes, learn about cpanminus, so download and install cpanm. - fire cpanm, install Plack, and am successful! - use Plack::Loader, and am dancing with apache, but have to screw around with RewriteRules. Also, seems slower than a pure dance.
Indeed, the CGI dispatcher is the worst solution you can think of when it's about performance. You should at least use the FastCGI dispatcher.
- Want to run many dances on the same dance floor, fast, with least hassles. - back to deployment manual. See I can use proxypass with virtualhost. but no virtualhosts on my laptop... only localhost/dir1,
You can also deploy with mod_perl, and set your app under a specific directory.
localhost/dir2 and so on. - notice fcgi, think, maybe that is faster although it still requires RewriteRules - check installation, see there is no dispatch.fcgi in the scaffolding
There is in 1.160
- look through the source code, and create a dispatch.fcgi - config apache with fcgi, and get caught in a redirect loop.
Use the example shown in the deployment guide: http://search.cpan.org/~sukria/Dancer-1.160/lib/Dancer/Deployment.pod#Runnin... This one works as expected.
mailing list arrives... ahhh. Now, I can hope for another dance.
Here's hoping that the first impression of dancer, which is complete delight and amazement, can continue on as the application matures, and the reality of hosting multiple applications on a typically shared web host settles in.
As long as Dancer supports PSGI/Plack, there is no reason you can't deploy in a manner that fits your needs. Note that de deployment guide is a work-in-progress, expect more examples and configuration snippets in the next release.
By the way, thanks to the creators of dancer for blowing in a breath of fresh air in the world of Perl web applications.
I'm glad you like it ;) Thanks. -- Alexis Sukrieh
On Mon, Mar 8, 2010 at 9:09 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
- ask on IRC, and am directed to the dance deployment manual. See that I require Plack. - fire cpan, install Plack, and get caught in a dependency circle from hell... everyone and his moose is being installed. Installation fails.
This is strange, Plack does not depend on Moose at all... http://deps.cpantesters.org/?module=Plack;perl=latest
If you could run it again I'd love to read the output, there might be a small "bug" somewhere that requires Moose or a module that requires Moose with no need. This should probably be solved so others that try to install Plack don't get this error. If you could run it as: # cpan Plack 2>&1 | tee output.txt And then send output.txt to me, or the mailing list. Thank you, and enjoy your new dance moves! :)
On Mon, Mar 8, 2010 at 1:30 AM, sawyer x <xsawyerx@gmail.com> wrote:
On Mon, Mar 8, 2010 at 9:09 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
- ask on IRC, and am directed to the dance deployment manual. See that I require Plack. - fire cpan, install Plack, and get caught in a dependency circle from hell... everyone and his moose is being installed. Installation fails.
This is strange, Plack does not depend on Moose at all... http://deps.cpantesters.org/?module=Plack;perl=latest
If you could run it again I'd love to read the output, there might be a small "bug" somewhere that requires Moose or a module that requires Moose with no need. This should probably be solved so others that try to install Plack don't get this error.
If you could run it as: # cpan Plack 2>&1 | tee output.txt
And then send output.txt to me, or the mailing list.
I will be happy to do that provided -- 1. you can tell me how to reinstall Plack via cpan temporarily to a local directory so I don't screw up my existing successful Plack installation that I achieved via cpanm 2. I am able to replicate. As you note above, I too was very surprised the cpan was installing everything under the sun, including Moose. I only hope I am able to replicate that... I kick myself for not having saved that output right away.
Thank you, and enjoy your new dance moves! :)
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
-- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science =======================================================================
sawyer x, I am top posting here. I looked inside my ~/.cpan/build directory, and copied the list of all the modules that cpan attempted to install starting with Plack, sorted by file times. Not as good as the build log, but something to start with, anyway. By the way, cpan was trying to install Mouse, not Moose, but iirc, Mouse is a smaller version of Moose, no? Oh, and again, iirc, the process died on trying to install Continuity and Squatting. Mar 3 14:44 Plack-0.9913-K8Pw0S.yml Mar 3 14:44 Plack-0.9913-K8Pw0S/ Mar 3 14:44 Devel-StackTrace-AsHTML-0.05-xOsvtT.yml Mar 3 14:44 Devel-StackTrace-AsHTML-0.05-xOsvtT/ Mar 3 14:44 Test-TCP-0.16-sr5z2V.yml Mar 3 14:44 Test-TCP-0.16-sr5z2V/ Mar 3 14:45 FCGI-0.69-mlb0yZ.yml Mar 3 14:45 FCGI-0.69-mlb0yZ/ Mar 3 14:49 CGI-Compile-0.10-bho5dx.yml Mar 3 14:49 CGI-Compile-0.10-bho5dx/ Mar 3 14:49 CGI-Emulate-PSGI-0.05-T0Fgol.yml Mar 3 14:49 CGI-Emulate-PSGI-0.05-T0Fgol/ Mar 3 14:50 Digest-HMAC-1.02-_3BEcu.yml Mar 3 14:50 Digest-HMAC-1.02-_3BEcu/ Mar 3 14:50 Digest-SHA1-2.12-k31Akq.yml Mar 3 14:50 Digest-SHA1-2.12-k31Akq/ Mar 3 14:51 Event-1.13-lZvvuY/ Mar 3 14:51 FCGI-ProcManager-0.19-XaOe74.yml Mar 3 14:51 FCGI-ProcManager-0.19-XaOe74/ Mar 3 14:51 Plack-Middleware-Auth-Digest-0.03-upQcDJ.yml Mar 3 14:51 Plack-Middleware-Auth-Digest-0.03-upQcDJ/ Mar 3 14:52 Class-C3-0.22-9KDhTm.yml Mar 3 14:52 Class-C3-0.22-9KDhTm/ Mar 3 14:52 Continuity-1.1-gzW1oz/ Mar 3 14:52 Coro-5.21-Nz0MLu.yml Mar 3 14:52 Coro-5.21-Nz0MLu/ Mar 3 14:52 Guard-1.021-7qTEkQ.yml Mar 3 14:52 Guard-1.021-7qTEkQ/ Mar 3 14:52 Shell-Perl-0.0018-LWK24k.yml Mar 3 14:52 Shell-Perl-0.0018-LWK24k/ Mar 3 14:53 Class-C3-Componentised-1.0006-CGlRrA.yml Mar 3 14:53 Class-C3-Componentised-1.0006-CGlRrA/ Mar 3 14:53 HTTP-Parser-XS-0.07-QZRqzq.yml Mar 3 14:53 HTTP-Parser-XS-0.07-QZRqzq/ Mar 3 14:53 Net-Server-0.97-Kl9WLI.yml Mar 3 14:53 Net-Server-0.97-Kl9WLI/ Mar 3 14:53 Squatting-0.70-5u2r4J/ Mar 3 14:53 Squatting-On-PSGI-0.03-uq6Js8/ Mar 3 14:53 Starman-0.1001-a6ysVD.yml Mar 3 14:53 Starman-0.1001-a6ysVD/ Mar 3 14:55 String-Format-1.16-rPST6V.yml Mar 3 14:55 String-Format-1.16-rPST6V/ Mar 3 14:56 Perl-Critic-1.105-95miEH/ Mar 3 14:57 Perl-Critic-1.105-95miEH.yml Mar 3 14:57 Test-Perl-Critic-1.02-Fq1EI4/ Mar 3 14:58 Test-Distribution-2.00-9JuXZN/ Mar 3 14:58 Test-Perl-Critic-1.02-Fq1EI4.yml Mar 3 14:59 CGI-PSGI-0.09-4J7pKm.yml Mar 3 14:59 CGI-PSGI-0.09-4J7pKm/ Mar 3 14:59 Plack-Handler-SCGI-0.01-rNmJum.yml Mar 3 14:59 Plack-Handler-SCGI-0.01-rNmJum/ Mar 3 14:59 Plack-Middleware-Deflater-0.02-_qIEvR.yml Mar 3 14:59 Plack-Middleware-Deflater-0.02-_qIEvR/ Mar 3 14:59 Plack-Middleware-File-Sass-0.01-rjzIY1.yml Mar 3 14:59 Plack-Middleware-File-Sass-0.01-rjzIY1/ Mar 3 14:59 SCGI-0.6-H0mD3i.yml Mar 3 14:59 SCGI-0.6-H0mD3i/ Mar 3 14:59 Test-Distribution-2.00-9JuXZN.yml Mar 3 14:59 Text-Sass-0.4-QT9Knl.yml Mar 3 14:59 Text-Sass-0.4-QT9Knl/ Mar 3 14:59 Try-Tiny-0.04-2qLUtw.yml Mar 3 14:59 Try-Tiny-0.04-2qLUtw/ Mar 3 15:00 Plack-App-Proxy-0.13-uQTdXB.yml Mar 3 15:00 Plack-App-Proxy-0.13-uQTdXB/ Mar 3 15:01 Carp-Assert-0.20-1Yl06V.yml Mar 3 15:01 Carp-Assert-0.20-1Yl06V/ Mar 3 15:01 Carp-Assert-More-1.12-U8e1ac.yml Mar 3 15:01 Carp-Assert-More-1.12-U8e1ac/ Mar 3 15:01 Test-WWW-Mechanize-1.24-QtxPVj.yml Mar 3 15:01 Test-WWW-Mechanize-1.24-QtxPVj/ Mar 3 15:01 Test-WWW-Mechanize-PSGI-0.35-JzEvZy.yml Mar 3 15:01 Test-WWW-Mechanize-PSGI-0.35-JzEvZy/ Mar 3 15:02 CGI-Application-PSGI-1.00-xnq2Kb.yml Mar 3 15:02 CGI-Application-PSGI-1.00-xnq2Kb/ Mar 3 15:02 Parallel-Prefork-0.07-RdWy64.yml Mar 3 15:02 Parallel-Prefork-0.07-RdWy64/ Mar 3 15:02 Proc-Wait3-0.03-eP67Jq.yml Mar 3 15:02 Proc-Wait3-0.03-eP67Jq/ Mar 3 15:04 POE-Test-Loops-1.033-v_LRaW.yml Mar 3 15:04 POE-Test-Loops-1.033-v_LRaW/ Mar 3 15:05 IO-Tty-1.08-kaezMv.yml Mar 3 15:05 IO-Tty-1.08-kaezMv/ Mar 3 15:08 POE-1.287-FGOHsK.yml Mar 3 15:08 POE-1.287-FGOHsK/ Mar 3 15:08 Test-POE-Client-TCP-1.06-MnWN5A/ Mar 3 15:09 HTTP-Parser-0.04-Osr6JQ.yml Mar 3 15:09 HTTP-Parser-0.04-Osr6JQ/ Mar 3 15:09 POE-Component-Server-PSGI-0.5-m7aPkL.yml Mar 3 15:09 POE-Component-Server-PSGI-0.5-m7aPkL/ Mar 3 15:09 POE-Filter-HTTP-Parser-1.02-NS42wr.yml Mar 3 15:09 POE-Filter-HTTP-Parser-1.02-NS42wr/ Mar 3 15:09 Test-POE-Client-TCP-1.06-MnWN5A.yml Mar 3 15:09 Test-POE-Server-TCP-1.08-DzZHHI.yml Mar 3 15:09 Test-POE-Server-TCP-1.08-DzZHHI/ Mar 3 15:11 Mouse-0.50-5MGmFv/ Mar 3 15:11 Test-Exception-0.29-KBh1Je.yml Mar 3 15:11 Test-Exception-0.29-KBh1Je/ Mar 3 15:12 Any-Moose-0.11-3u098w.yml Mar 3 15:12 Any-Moose-0.11-3u098w/ Mar 3 15:12 AnyEvent-ReverseHTTP-0.05-VPRQy4.yml Mar 3 15:12 AnyEvent-ReverseHTTP-0.05-VPRQy4/ Mar 3 15:12 Catalyst-Engine-PSGI-0.07-hLWErG.yml Mar 3 15:12 Catalyst-Engine-PSGI-0.07-hLWErG/ Mar 3 15:12 FCGI-Client-0.04-0IYGTq.yml Mar 3 15:12 FCGI-Client-0.04-0IYGTq/ Mar 3 15:12 Mouse-0.50-5MGmFv.yml Mar 3 15:12 Plack-Handler-AnyEvent-ReverseHTTP-0.04-mvyHwQ.yml Mar 3 15:12 Plack-Handler-AnyEvent-ReverseHTTP-0.04-mvyHwQ/ Mar 3 15:13 Class-Method-Modifiers-1.05-sfn6US.yml Mar 3 15:13 Class-Method-Modifiers-1.05-sfn6US/ Mar 3 15:13 Devel-StackTrace-WithLexicals-0.05-Grwif1.yml Mar 3 15:13 Devel-StackTrace-WithLexicals-0.05-Grwif1/ Mar 3 15:13 Module-Versions-0.02-KhTmBq.yml Mar 3 15:13 Module-Versions-0.02-KhTmBq/ Mar 3 15:13 Plack-Middleware-Debug-0.07-NdDIcp.yml Mar 3 15:13 Plack-Middleware-Debug-0.07-NdDIcp/ Mar 3 15:13 Text-MicroTemplate-0.11-Wc7Ipi.yml Mar 3 15:13 Text-MicroTemplate-0.11-Wc7Ipi/ Mar 3 15:14 AnyEvent-HTTPD-0.84-Vh0ycP.yml Mar 3 15:14 AnyEvent-HTTPD-0.84-Vh0ycP/ Mar 3 15:14 Object-Event-1.21-Ty6b9x.yml Mar 3 15:14 Object-Event-1.21-Ty6b9x/ Mar 3 15:14 Plack-Handler-AnyEvent-HTTPD-0.01-r8UxMR.yml Mar 3 15:14 Plack-Handler-AnyEvent-HTTPD-0.01-r8UxMR/ Mar 3 15:14 Plack-Middleware-ReverseProxy-0.06-7jqmIP.yml Mar 3 15:14 Plack-Middleware-ReverseProxy-0.06-7jqmIP/ Mar 3 15:14 Twiggy-0.1004-AXMlGB.yml Mar 3 15:14 Twiggy-0.1004-AXMlGB/ Mar 3 15:16 EV-3.9-EEaNcb.yml Mar 3 15:16 EV-3.9-EEaNcb/ Mar 3 15:16 Net-Server-Coro-0.8-V1dM0i.yml Mar 3 15:16 Net-Server-Coro-0.8-V1dM0i/ Mar 3 15:16 Net-SSLeay-1.36-uRZtu2.yml Mar 3 15:16 Net-SSLeay-1.36-uRZtu2/ Mar 3 15:16 Plack-Middleware-Header-0.03-_ygcVh.yml Mar 3 15:16 Plack-Middleware-Header-0.03-_ygcVh/ Mar 3 15:16 Plack-Middleware-JSConcat-0.29-OzEGDO.yml Mar 3 15:16 Plack-Middleware-JSConcat-0.29-OzEGDO/ Mar 3 15:16 Plack-Server-Coro-0.02-SZKl3X.yml Mar 3 15:16 Plack-Server-Coro-0.02-SZKl3X/ Mar 3 15:17 Plack-Middleware-Session-0.11-6alEoZ.yml Mar 3 15:17 Plack-Middleware-Session-0.11-6alEoZ/ Mar 3 15:17 PSGI-1.03-_8JZZE.yml Mar 3 15:17 PSGI-1.03-_8JZZE/ Mar 3 15:17 Task-Plack-0.18-I7RVp9.yml Mar 3 15:17 Task-Plack-0.18-I7RVp9/ Mar 3 15:19 Continuity-1.1-gzW1oz.yml Mar 3 15:19 Event-1.13-lZvvuY.yml Mar 3 15:19 Squatting-0.70-5u2r4J.yml Mar 3 15:19 Squatting-On-PSGI-0.03-uq6Js8.yml On Mon, Mar 8, 2010 at 8:59 AM, P Kishor <punk.kish@gmail.com> wrote:
On Mon, Mar 8, 2010 at 1:30 AM, sawyer x <xsawyerx@gmail.com> wrote:
On Mon, Mar 8, 2010 at 9:09 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
- ask on IRC, and am directed to the dance deployment manual. See that I require Plack. - fire cpan, install Plack, and get caught in a dependency circle from hell... everyone and his moose is being installed. Installation fails.
This is strange, Plack does not depend on Moose at all... http://deps.cpantesters.org/?module=Plack;perl=latest
If you could run it again I'd love to read the output, there might be a small "bug" somewhere that requires Moose or a module that requires Moose with no need. This should probably be solved so others that try to install Plack don't get this error.
If you could run it as: # cpan Plack 2>&1 | tee output.txt
And then send output.txt to me, or the mailing list.
I will be happy to do that provided --
1. you can tell me how to reinstall Plack via cpan temporarily to a local directory so I don't screw up my existing successful Plack installation that I achieved via cpanm
2. I am able to replicate. As you note above, I too was very surprised the cpan was installing everything under the sun, including Moose. I only hope I am able to replicate that... I kick myself for not having saved that output right away.
Thank you, and enjoy your new dance moves! :)
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
-- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science =======================================================================
On Mon, Mar 8, 2010 at 5:17 PM, P Kishor <punk.kish@gmail.com> wrote:
sawyer x,
I am top posting here. I looked inside my ~/.cpan/build directory, and copied the list of all the modules that cpan attempted to install starting with Plack, sorted by file times. Not as good as the build log, but something to start with, anyway. By the way, cpan was trying to install Mouse, not Moose, but iirc, Mouse is a smaller version of Moose, no? Oh, and again, iirc, the process died on trying to install Continuity and Squatting.
I think I see the problem. You didn't try to install Plack, you tried to install Task::Plack which installs an entire host of Plack-related technologies. I see POE and Starman there, for example. Both of which aren't a requirement for Plack. Starman is a Plack-based server, it's not Plack itself, nor does it come along with it. You should take into account that Task::* modules are there to help you install related technologies instead of just the barebones. That's why Task::Moose suggests a host of MooseX modules, that's why Task::Dancer suggests to install a lot of backends (some which require more modules which require more modules). That's what happened.
On Mon, Mar 8, 2010 at 1:09 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
Le dimanche 07 mars 2010 à 13:23 -0600, P Kishor a écrit : ..
- suddenly be struck by a thought -- how am I going to have several dances on the same dance floor?
I'd go for a bunch of VirtualHosts, each of them either with a FastCGI dispatcher, or a proxy_balancer.
I do have VirtualHosts on my production server, so the above is helpful. But, I don't have VirtualHosts on my laptop. I have directories under my ~/Sites folder, and I access them as http://localhost/app1, http://localhost/app2 and so on. So, now what do I do? (more on this below). ..
- use Plack::Loader, and am dancing with apache, but have to screw around with RewriteRules. Also, seems slower than a pure dance.
Indeed, the CGI dispatcher is the worst solution you can think of when it's about performance. You should at least use the FastCGI dispatcher.
Let's put the above observation right there in the not-so-quickstart-manual.
- Want to run many dances on the same dance floor, fast, with least hassles. - back to deployment manual. See I can use proxypass with virtualhost. but no virtualhosts on my laptop... only localhost/dir1,
You can also deploy with mod_perl, and set your app under a specific directory.
Same concern as above with FCGI. See, here is what happens, in my mind (and, by assumption, in the minds of other ordinary and not so savvy developers such as me). I want, to the extent possible, an exact same environment on my laptop as on the production server. I am fortunate as we are an all Apple shop. This means, I don't have to learn two different environments, two different directory hierarchies, and other idiosyncrasies. That way, I can devote almost all my energies to developing the app. I have installed my own perl (5.10.1) on both my personal laptop and my production Xserve, and have everything on both machines identical... perl and Unix-y software stuff under /usr/local, web sites under ~/Sites and so on. The only thing, and really, the only thing different on the two machines is how the web apps are served. Both are served by Apache2, but on the production server I have <VirtualHosts *:80> so I can access the apps via their DNS names such as http://app1.com and http://app2.org, but on my laptop I don't have DNS resolution of local apps, so I access them as http://localhost/app1 and localhost/app2 The above, I would guess, is the scenario with many developers. In fact, most developers, and myself, under a slightly different scenario, don't have access to a production server under their own control. They usually have a shared web host that allows them to install local perl modules, but occasionally croaks on compiled C modules, and certainly doesn't allow them to screw around with httpd.conf, instead, allowing them to rely on .htaccess in local directories. So, the instructions have to account for this scenario. So, I want to understand and test FCGI (or mod_perl) on my laptop so I can also deploy it on my production server, given the above non-overlap. This is where I am stuck.
- look through the source code, and create a dispatch.fcgi - config apache with fcgi, and get caught in a redirect loop.
Use the example shown in the deployment guide: http://search.cpan.org/~sukria/Dancer-1.160/lib/Dancer/Deployment.pod#Runnin...
Actually, I am stuck here as well. As noted above, since I don't have VirtualHosts on my local laptop, so I have the following in my httpd.conf ----- httpd.conf ----- <Directory /Users/punkish/Sites/punkishdance> Options Indexes FollowSymLinks MultiViews ExecCGI Includes AllowOverride All Order allow,deny Allow from all AddHandler fastcgi-script .fcgi </Directory> ----- and then, I have the following in my ~/Sites/app1/.htaccess ----- ~/Sites/app1/.htaccess ----- # Assuming that the base URI is http://localhost/punkish/ RewriteEngine On RewriteBase /app1/ # If an actual file or directory is requested, serve directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Otherwise, pass everything through to the dispatcher RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] ----- Note, since I am not accessing http://app1.com, my dispatch.fcgi line is not '/dispatch.fcgi'. But, now I am caught in a redirect loop. Here is a snippet of what I get from my rewrite.log redir#7] (3) [perdir /Users/punkish/Sites/app1/] add path info postfix: /Users/punkish/Sites/app1/dispatch.fcgi -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#7] (3) [perdir /Users/punkish/Sites/app1/] strip per-dir prefix: /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#7] (3) [perdir /Users/punkish/Sites/app1/] applying pattern '^(.*)$' to uri 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#7] (2) [perdir /Users/punkish/Sites/app1/] rewrite 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' -> 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#7] (3) [perdir /Users/punkish/Sites/app1/] add per-dir prefix: dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#7] (2) [perdir /Users/punkish/Sites/app1/] trying to replace prefix /Users/punkish/Sites/app1/ with /app1/ redir#7] (1) [perdir /Users/punkish/Sites/app1/] internal redirect with /app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor [INTERNAL REDIRECT] redir#8] (3) [perdir /Users/punkish/Sites/app1/] add path info postfix: /Users/punkish/Sites/app1/dispatch.fcgi -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#8] (3) [perdir /Users/punkish/Sites/app1/] strip per-dir prefix: /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#8] (3) [perdir /Users/punkish/Sites/app1/] applying pattern '^(.*)$' to uri 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#8] (2) [perdir /Users/punkish/Sites/app1/] rewrite 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' -> 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#8] (3) [perdir /Users/punkish/Sites/app1/] add per-dir prefix: dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#8] (2) [perdir /Users/punkish/Sites/app1/] trying to replace prefix /Users/punkish/Sites/app1/ with /app1/ redir#8] (1) [perdir /Users/punkish/Sites/app1/] internal redirect with /app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor [INTERNAL REDIRECT] redir#9] (3) [perdir /Users/punkish/Sites/app1/] add path info postfix: /Users/punkish/Sites/app1/dispatch.fcgi -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#9] (3) [perdir /Users/punkish/Sites/app1/] strip per-dir prefix: /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#9] (3) [perdir /Users/punkish/Sites/app1/] applying pattern '^(.*)$' to uri 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#9] (2) [perdir /Users/punkish/Sites/app1/] rewrite 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' -> 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#9] (3) [perdir /Users/punkish/Sites/app1/] add per-dir prefix: dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#9] (2) [perdir /Users/punkish/Sites/app1/] trying to replace prefix /Users/punkish/Sites/app1/ with /app1/ redir#9] (1) [perdir /Users/punkish/Sites/app1/] internal redirect with /app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor [INTERNAL REDIRECT] redir#10] (3) [perdir /Users/punkish/Sites/app1/] add path info postfix: /Users/punkish/Sites/app1/dispatch.fcgi -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#10] (3) [perdir /Users/punkish/Sites/app1/] strip per-dir prefix: /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#10] (3) [perdir /Users/punkish/Sites/app1/] applying pattern '^(.*)$' to uri 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#10] (2) [perdir /Users/punkish/Sites/app1/] rewrite 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' -> 'dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor' redir#10] (3) [perdir /Users/punkish/Sites/app1/] add per-dir prefix: dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor -> /Users/punkish/Sites/app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor redir#10] (2) [perdir /Users/punkish/Sites/app1/] trying to replace prefix /Users/punkish/Sites/app1/ with /app1/ redir#10] (1) [perdir /Users/punkish/Sites/app1/] internal redirect with /app1/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/dispatch.fcgi/Puneet-Kishor [INTERNAL REDIRECT] So, the summary of my experience is: - be amazed by dancer, - discover that in reality I have to make my setup a bit more complicated than quickstart - go into several recommended directions, and get stuck. Here is what I want to help you all with -- change the dancer experience to: - be amazed by dancer, - continue to be amazed by dancer. I look forward to assisting the dancer team achieve the above. -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science =======================================================================
participants (3)
-
Alexis Sukrieh -
P Kishor -
sawyer x