Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


lighttpd and SQLite and Zope... oh my!

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
autodmc



Joined: 01 Feb 2006
Posts: 40

Posted: Wed Feb 01, 2006 12:30 am    Post subject: 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.
Back to top  
rhashimoto



Joined: 13 Aug 2003
Posts: 55

Posted: Wed Feb 01, 2006 2:16 am    Post subject:  

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 mod_rewrite and mod_proxy. 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
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1