Ruby and Rail

J

Josselin

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 (e-mail address removed)
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
 

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

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,678
Latest member
Aniruddha Das

Latest Threads

Top