# Configuring Apache for ruby on windows

**URL:** <https://www.ruby-forum.com/t/configuring-apache-for-ruby-on-windows/75196>\
**Category:** Rails\
**Created:** [November 8, 2006, 4:53am UTC](https://www.ruby-forum.com/t/configuring-apache-for-ruby-on-windows/75196 "2006-11-08T04:53:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitenggcom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@ankitenggcom](https://www.ruby-forum.com/u/ankitenggcom)\
**Post date:** [November 8, 2006, 4:53am UTC](https://www.ruby-forum.com/t/configuring-apache-for-ruby-on-windows/75196/1 "2006-11-08T04:53:37Z")

</div>

Through all the way I try to configure apache for ruby on windows. I  
made changes in httpd.conf for fastcgi as :

LoadModule fastcgi\_module modules/mod\_fastcgi.so

LoadModule ruby\_module modules/mod\_ruby.so

FastCgiServer e:/web/cookbook/public/dispatch.fcgi -initial-env

RAILS\_ENV=production -processes 3 -idle-timeout 60

So after doing this when I check the httpd.conf it give error as connot  
load mod\_fastcgi.so and mod\_ruby.so

So can any body give the solution for that

ankit

---

<div class="post-metadata">

**Author:** ![ankitenggcom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@ankitenggcom](https://www.ruby-forum.com/u/ankitenggcom)\
**Post date:** [November 8, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/configuring-apache-for-ruby-on-windows/75196/2 "2006-11-08T19:28:40Z")

</div>

Are the files mod\_fastcgi.so and mod\_ruby.so in your apache /modules  
folder? It looks like it isn’t finding them.

c.

Ankit Varshney wrote:

> Through all the way I try to configure apache for ruby on windows. I  
> made changes in httpd.conf for fastcgi as :
> 
> LoadModule fastcgi\_module modules/mod\_fastcgi.so
> 
> LoadModule ruby\_module modules/mod\_ruby.so
> 
> FastCgiServer e:/web/cookbook/public/dispatch.fcgi -initial-env
> 
> RAILS\_ENV=production -processes 3 -idle-timeout 60
> 
> So after doing this when I check the httpd.conf it give error as connot  
> load mod\_fastcgi.so and mod\_ruby.so
> 
> So can any body give the solution for that
> 
> ankit

---

<div class="post-metadata">

**Author:** ![ankitenggcom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@ankitenggcom](https://www.ruby-forum.com/u/ankitenggcom)\
**Post date:** [November 9, 2006, 5:57am UTC](https://www.ruby-forum.com/t/configuring-apache-for-ruby-on-windows/75196/3 "2006-11-09T05:57:51Z")

</div>

I ave already copied both the modules in the modules directory. Still it  
is givingthe problem

Cayce B. wrote:

> Are the files mod\_fastcgi.so and mod\_ruby.so in your apache /modules  
> folder? It looks like it isn’t finding them.
> 
> c.
> 
> Ankit Varshney wrote:
> 
> > Through all the way I try to configure apache for ruby on windows. I  
> > made changes in httpd.conf for fastcgi as :
> > 
> > LoadModule fastcgi\_module modules/mod\_fastcgi.so
> > 
> > LoadModule ruby\_module modules/mod\_ruby.so
> > 
> > FastCgiServer e:/web/cookbook/public/dispatch.fcgi -initial-env
> > 
> > RAILS\_ENV=production -processes 3 -idle-timeout 60
> > 
> > So after doing this when I check the httpd.conf it give error as connot  
> > load mod\_fastcgi.so and mod\_ruby.so
> > 
> > So can any body give the solution for that
> > 
> > ankit
