[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby and Rail

sam

6/13/2006 2:17:00 AM

Hi, can anyone pls tell me how does Ruby and Rail works with Aparche?

Thanks
Sam
1 Answer

Josselin

6/13/2006 1:43:00 PM

0

On 2006-06-13 04:16:57 +0200, sam <sam@boychip.net> said:

> Hi, can anyone pls tell me how does Ruby and Rail works with Aparche?
>
> Thanks
> Sam

i'm running it locally on my Mac

in my httpd.conf

1- I wrote
LoadModule fastcgi_module libexec/httpd/mod_fastcgi.so
AddModule mod_fastcgi.c

<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>


2- I defined a virtual host (and not forgotten to write also in
NetInfo utility -> machines)

<VirtualHost 127.0.0.1:80>
ServerAdmin myname@mac.com
ServerName myapp.kermac.loc
DocumentRoot /Users/myname/Sites/aelmat/intranet/Rails/myapp/public/
ErrorLog /Users/myname/Sites/aelmat/intranet/Rails/myapp/log/error_log
<Directory /Users/myname/Sites/aelmat/intranet/Rails/myapp/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

3 - my application 'myapp' is in
/Users/myname/Sites/aelmat/intranet/Rails