oi Amigos,

   Tô acando de chegar... e já tô pedindo uma cachaça... :-)

   Após alguma discussão entre java e php, decidimos fazer um
teste com o ruby (sem rails por enquanto...)

   Alguém por aí já viu o Ruby funcionar com o Apache?

        Muito Obrigado,

             Anderson Francisco
             Analista de TI - UNIFAL-MG


********
lynx http://localhost/index.rhtml

ERRO:
The requested URL /usr/bin/eruby/index.rhtml was not found on this server.
POR QUE?:"/usr/bin/eruby/index.rhtml"
____

nano index.rhtml
%puts "oi bill"
%puts "oi anderson"
____

Ubuntu Server 7.04
____

[EMAIL PROTECTED]:/var/www# ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]
____

[EMAIL PROTECTED]:/var/www# mysql --version
mysql  Ver 14.12 Distrib 5.0.38, for pc-linux-gnu (i486) using readline 5.2
____

Apache/2.2.3 (Ubuntu) PHP/5.2.1 Server at 172.16.172.100 Port 80
____

#tail /etc/apache2/apache2.conf

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /usr/bin/eruby

DirectoryIndex index.html index.php index.shtml index.rhtml
#DirectoryIndex index.html index.php index.shtml /usr/bin/index.rb
____

cd /etc/apache2/mods-enabled
ln -s ../mods-available/actions.load actions.load
____
apt-get install libapache2-mod-ruby

_______________________________________________
Ruby-l mailing list
[email protected]
http://www.listas.unicamp.br/mailman/listinfo/ruby-l

Responder a