lighttpd and SQLite and Zope... oh my!
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
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
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