Displaying 4 results from an estimated 4 matches for "campingrc".
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
2006 Jul 12
1
+ camping 1.4.123
...39; => ''camping''})
#=> #<Blog::Controllers::Login @user=... >
Blog.get(:Info, :env => {:HTTP_HOST => ''wagon''})
#=> #<Blog::Controllers::Info @env={''HTTP_HOST''=>''wagon''} ...>
* ~/.campingrc can contain database connection info if you want your
default to be something other than SQLite.
database:
adapter: mysql
username: camping
socket: /tmp/mysql.sock
password: NOFORESTFIRES
database: camping
* controllers are now *ordered*. uses the inhe...
2006 Oct 03
4
! camping 1.5 + markaby 0.5
...tiveRecord no longer required or installed.
* If you refer to Models::Base, however, ActiveRecord will be loaded with
autoload. (see lib/camping/db.rb)
* new Camping::FastCGI.serve which will serve a whole directory of apps
(see http://code.whytheluckystiff.net/camping/wiki/TheCampingServer)
* ~/.campingrc can contain database connection info if you want your default to
be something other than SQLite.
database:
adapter: mysql
username: camping
socket: /tmp/mysql.sock
password: NOFORESTFIRES
database: camping
* controllers are now *ordered*. uses the inherited h...
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
...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 now, what
should each of these look like? I''ve tried multiple solutions offered on
the mailing lists, from Post-ambles to Campingrcs, and no combination
seems to work.
What I have so far:
* The original Short Short Camping example, with the class HomePage
changed to Beta.
* This .htaccess:
AddHandler fastcgi-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
Rewr...