WooHoo, I got it working. However, it looks like there is a problem with
Lighttpd & SQLite3 on Debian stable. Apparently Lighttpd is compiled
against SQLite instead of SQLite3 and I'm getting all kinds of weird SQL
errors:
ActiveRecord::StatementInvalid (SQLite3::SQLException: SQL logic error or
missing database: INSERT INTO sessions ("updated_at", "session_id", "data")
VALUES('2007-10-09 17:24:02', '90ade8e8a03b57f98e3b4ffa55c094f4',
'BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
SGFzaHsABjoKQHVzZWR7AA==
')):
This same exact setup works when run against a Postgres database, so I'm
thinking it's a SQLite3 library thing. Any suggestions? I like Postgres
and might just keep using it but the simplicity of SQLite3 just makes me
weep for joy. :) Also, I am curious about the performance differences
between the two DBMSs. It seems like SQLite3 should perform better for
smaller sites (as long as you can keep the db file in memory). What do you
think?
Thanx!
Richard
On 10/9/07, Aitor Garay-Romero <[EMAIL PROTECTED]> wrote:
>
> As Sean as pointed, rails apps are served by lighttpd through
> fcgi. All
> you need to do is setup lighttpd.conf correctly. These two links are
> useful:
>
> http://duncandavidson.com/archives/153
> http://textsnippets.com/posts/show/70
>
> /AITOR
>
> On 10/9/07, Richard Hurt <[EMAIL PROTECTED]> wrote:
> >
> > Hey all,
> >
> > I'm got my new production server (Debian) up and running with Lighttpd
> and
> > am now trying to get RadiantCMS working. If I try to just run
> > "scripts/server lighttpd" it rails saying that Lighttpd is not installed
> > on
> > my system (or not in my path). Lighttpd most certainly is installed on
> my
> > system and it's running just fine. However I don't think I want Radiant
> > to
> > "run" my webserver. How can I just make it use the already existing
> > Lighttpd instance? I think I could have Radiant start up Mongrel and
> then
> > point Lightthpd to that, but that is quite a lot of moving parts just
> for
> > a
> > simple web app. Is there a "scripts/server standalone" option or
> > something?
> >
> > Thanx!
> > Richard
> > _______________________________________________
> > Radiant mailing list
> > Post: [email protected]
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant