Displaying 20 results from an estimated 8000 matches similar to: "Mounting an app as ''/'' under Apache?"
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks,
I''m deploying a camping app on an internal Apache2 + FastCGI server at my
office. Of course, on my Mac it works great, but I can''t get things to work
with Apache and FCGI. I''ve followed the directions on why''s page
documenting how to do this, but I''m getting the following error in my Apache
error.log file:
FastCGI: (dynamic) server
2007 Jan 09
4
Overriding ServerError?
I''m getting ready to deploy a production app based on Camping, but
have one little thing I want to iron out.
Is it possible to override the ServerError class? I need custom 500''s
to come up, and not the normal "Camping Problem!" page.
I am trying to override, just like I do the NotFound class, but can''t
seem to get it to take. I just get a blank page back
2006 Oct 22
3
Date Helpers?
Does anyone have any ideas off the top of there head how to easily construct
a date helper as one would see in Rails?
Thanks,
Michael Gorsuch
http://www.styledbits.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20061022/7dda5a52/attachment.html
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan
did you get camping running on dreamhost already??
i?m trying to run it also but i haven''t succeed yet. it runs on
command line but when i add the rewrite rules on .htaccess i get a
internal server error.
I emailed support to ask about ScriptAlias and they say they cannot
change or add that to apache conf.
--
Andr? G. Cardozo
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2007 Feb 18
1
FastCGI without ScriptAlias
Hi,
I made some experiments with the sample blog application, my index.fcgi
file contains the following:
require ''camping/fastcgi''
Camping::Models::Base.establish_connection(
:adapter => ''sqlite3'',
:database => ''database/camping.db''
)
Camping::FastCGI.serve(''blog.rb'')
Without ScriptAlias the application works fine,
2007 Mar 12
3
threading and concurrency
hello all. ive come to the point where im thinking about deploying my ''rails on rails'' app-development solution built in camping.
mainly, im wondering what the barriers to thread-safety are.
for db, i use redland, and afaik it spawns a single db connection for each find, and keeps a pool around to reuse. iow, no ActiveRecord.
are class-vars a problem? theres one that
2008 May 21
32
Rack, Camping 2.0++
===
1. Camping on Rack
===
I''ve just finished rewriting Camping to use Rack in the "core". I got rid of
(a little less) than 1kB in camping.rb and removed lots of un-necessary files
(lib/server/*.rb, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch
2006 Jul 18
3
+ camping 1.4.138
Just up:
gem install camping --source code.whytheluckystiff.net
The changes:
* Both bin/camping and Camping::FastCGI.serve now act according to the
Camping Server specification.[1]
* Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code.
actually, this is probably very wrong. the problem is probably something
like PATH_INFO does not exist when using FastCGI.
I have not done all my homework, but so far what I found is lighttpd has a
special option
"broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can
extract PATH_INFO from it (default:
2008 Jan 10
14
Keeping Camping going
Hello all,
I''m not sure who Camping''s steward is at this point(zimbatm? _why?),
but I haven''t seen much activity in quite some time. I really like
Camping, and I understand open source projects can fall by the
wayside.
So, I''d be willing to take over maintenance and releasing. I have
experience maintaining my own open source projects, and a history of
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
Blog::Models::Base.logger =
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for
mongrel should not have much problem integrating the two I think. Apache/CGI
is different and still will not work.
I fuck around for a full day at the end of the day, I found Iowa another web
framework and I try using their code
but using Iowa::Request.new.read_multipart was more confusing than anything,
although it helped me
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers!
I am working on Site5, trying to get a working Camping application
running. Unfortunately, my sole option in terms of deployment is FastCGI.
I have no access to sudo so I cannot create ScriptAliases.
I''ve taken the Camping Short Short Example and uploaded it, along with a
dispatch.fcgi and an .htaccess file.
My question is - given the state of Camping development right
2007 Jan 22
4
Postamble vs campingrc
Hi,
Should I be able to use the Webrick postamble instead of using
.campingrc, to tell Camping I want to use mysql? It doesn''t seem to
be working for me. It does work however, when I''m using FastCGI
(establish_connection :adapter => ''mysql'').
James
2007 Nov 22
2
How many CRLFs between header and body?
Just ran into a problem[1]. It seems to have been introduced by
changeset 224 [2], a fix for ticket 126 [3].
The root is the number of CRLFs Camping puts between the headers and
the body of the response. This has changed at least 3 times; right now
we''re back to 1. (ie. every header ends in a CRLF, and then there''s the
body)
The HTTP RFC[4], the CGI spec[5] and the FastCGI
2007 Jan 10
2
Dream Ledger
Hello Fellow Campers,
I''m feeling crazy tonight and thought I''d go ahead and announce my new
little project riding on the Camping framework: Dream Ledger
(http://www.dreamledger.com).
The app was written to scratch a personal itch, which is the simple
fact that I wanted an easy way to record my nightly dreams and sleep
experiences. Think about it as ''dream
2007 Jul 22
2
500 error while trying to run Camping on Dreamhost
I''ve tried setting up an Hello World app with Rails (no database), on a
Dreamhost account. I used the configuration I found here
http://www.mail-archive.com/camping-list at rubyforge.org/msg00114.html with
the proper paths. But I keep getting Internal Server Errors (500). On the
error.log I found this
[Sun Jul 22 15:32:07 2007] [error] [client 82.154.48.138] FastCGI: comm with
(dynamic)
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]