debian sarge - apache2 - ruby

Z

zee_man78

hello you all,

i have some problem with my debian (sarge) apache2 and ruby...

actually my deb. and the apache2 are doing just fine but something is
wrong with my ruby.

i installed ruby 1.8 (i hope that's the latest) i set up my
apache2.conf (as far as i know it is good!) and ruby is running from
command but when i try to use (eruby) with my apache2 it says:


Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

etcetcetc...


i tried every kind of chown and chmod didn't help;;;

and i couldn't find a 'step-by-step' guide for ruby :(

thanks for your help
zM

ps: i've already started to learn japanese so i can talk to Yukihiro
Matsumoto ;)
 
D

Dick Davies

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

etcetcetc...

'etcetcetc' ? Check your error log, that's what it's for :)
 
Z

zee_man78

hello,

yes i checked it:
the /var/log/apache2/error.log says:

[Fri Oct 14 20:42:13 2005] [error] mod_ruby: /www/ruby/: Is a directory
- /www/ruby/ (Errno::EISDIR)
[Fri Oct 14 20:42:13 2005] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `load'
[Fri Oct 14 20:42:13 2005] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'


and i couldn't do anything with this :(

the ruby folder is:
/www/ruby/

the apache2 it's working 'cause i have PHP with it so it's running....
and the browsers say:

internal server error ...
--------------------
Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 mod_ruby/1.2.4
Ruby/1.8.2(2005-04-11) Server at xyz.abc Port 80

so interesting.... to me at least :)

zM
 
Z

zee_man78

!!!!! hello again !!!!!!

i found the problem!!! it's .... interesting!!!!

so i changed the name from /www/ruby/ to /www/rubi

and that's it!

the script is running now!!!!

thank you for your help!

zM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top