Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 01, 2006 1:30 am 
Offline
Junior Member

Joined: Wed Feb 01, 2006 1:24 am
Posts: 40
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.


Top
   
 Post subject:
PostPosted: Wed Feb 01, 2006 3:16 am 
Offline
Senior Member

Joined: Wed Aug 13, 2003 10:24 am
Posts: 55
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group