The Artima Developer Community
Sponsored Link

Python Buzz Forum
Using MouseHole on LightTPD or Apache2

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ramdas S

Posts: 60
Nickname: ramdaz
Registered: Sep, 2005

Ramdas S is a Python fan, writer and developer based out of Bangalore India
Using MouseHole on LightTPD or Apache2 Posted: Oct 22, 2005 3:39 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ramdas S.
Original Post: Using MouseHole on LightTPD or Apache2
Feed Title: Python tags from blog of s ramdas
Feed URL: http://ramdas.diqtech.com/feeds/tags/python/
Feed Description: Latest Pythonic experiements by S Ramdas
Latest Python Buzz Posts
Latest Python Buzz Posts by Ramdas S
Latest Posts From Python tags from blog of s ramdas

Advertisement

If you’re on Linux/BSD/OSX and you’d like to give MouseHole a power-up, try out the new LightTPD support, just checked into CVS. Runs much better than WEBrick and uses the same API! Apache2+mod_ruby support is also checked in, but it still really needs some work. (As usual, contributors welcome.)

 cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/mousehole login
 cvs -d :pserver:anonymous@rubyforge.org:/var/cvs/mousehole co mouseHole

And you’ll have a checked-out copy.

LightTPD MouseHole

You’ll need LightTPD, FastCGI, and FCGI-Ruby installed. Head to your checked out copy of MouseHole and run:

 bin/mouseHole -s lighttpd

You can pass in all the typical commandline options as well, if you like.

 bin/mouseHole -s lighttpd --no-tidy 127.0.0.1 3704

Logs for script errors are stored in ~/.mouseHole/log. If you’d like to inspect the generated LightTPD configurations, see ~/.mouseHole/temp/lighttpd.

Apache2 MouseHole

You’ll need Apache2 (I believe earlier Apaches will work as well) and mod_ruby. Then, go to your checked out copy of MouseHole and run:

 bin/mouseHole -s apache2

To stop Apache:

 apache2ctl -f ~/.mouseHole/temp/apache/httpd.conf -k stop

Again, all the commandline options should work as well. Logs are stored in the same place as above. If you want to inspect or tweak the Apache configuration, see ~/.mouseHole/temp/apache2.

Read: Using MouseHole on LightTPD or Apache2

Topic: New Releases: SIP, Marshall Previous Topic   Next Topic Topic: Yo mama

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use