The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Using MouseHole over 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
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Using MouseHole over LightTPD or Apache2 Posted: Oct 15, 2005 1:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Using MouseHole over LightTPD or Apache2
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

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 over LightTPD or Apache2

Topic: Atom API Previous Topic   Next Topic Topic: Signing comments on blogs

Sponsored Links



Google
  Web Artima.com   

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