lighttpd and SQLite and Zope... oh my!

Howdy.

It's 11:20 here, and I'm about to fall asleep at the keys, and random searching around the 'Net isn't finding me the info I need.

I've now had my Linode for about 3 hours. I installed Debian small, and proceeded to attempt to setup my webserving system.

I would like to use Zope for my websites. I need a database engine, and I've heard good things about SQLite (instead of the MySQL I've used all my hosting life :D). I've been told that lighttpd is the way of the future.

However, I can't seem to find any help on setting up this combo. There's plenty of LAMP tutorials. But I'm not going to use A, I'm using a different style of M, and my P isn't the usual suspect. And I'm lost.

Any help, pointers, etc would be appreciated.

Good night, and good luck!

Shawn.

1 Reply

I front zope with lighttpd, but I don't have need of a database. You may not actually need to front zope, as it is itself an http server.

In my lighttpd.conf, I enable modules modrewrite and modproxy. Then I rewrite incoming URLs:

rewrite for virtual host monster

URLs that should go to Zope are rewritten in the necessary form for

the Virtual Host Monster.

url.rewrite-final = (

anything not starting with webmail

"^/((?!webmail).*)$" => "/VirtualHostBase/http/my.host.com/VirtualHostRoot/$1"

)

And then I pass all these URLs to zope:

proxy to Zope

URLs that have been rewritten to begin with /VirtualHostBase are routed

to the Zope server.

proxy.server = (

"/VirtualHostBase" => (( "host" => "127.0.0.1", "port" => 8080 ))

)

Roy

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct