# Apache 2.2 don't work with fastcgi

**URL:** <https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318>\
**Category:** Rails\
**Created:** [February 1, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318 "2006-02-01T17:09:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/1 "2006-02-01T17:09:08Z")

</div>

I’m trying to install mod\_fastcgi for my rails app.

I use Apache 2.2 and FastCGI 2.4.2 in windows xp.  
I have modified the httpd.conf adding LoadModule fastcgi\_module  
modules/mod\_fastcgi.dll (with mod\_fastcgi.dll and mod\_fastcgi.so in the  
modules directory).

## Whe i try to start Apache i have this error

## apache: Syntax error on line 122 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/mod\_fastcgi.dll into server: Impossible to find the module.

But the file is in the dir modules. So Apache not start becouse don’t  
load fastcgi.

Then I have find in the web this link  
[http://groups.google.it/group/mailing.freebsd.ports/browse\_thread/thr](http://groups.google.it/group/mailing.freebsd.ports/browse_thread/thr)…  
but I have not understand the solution. Then it ask for unix.

Thanks to all for your time.  
–Reis.

Thi message starts from Google G.  
[http://groups.google.it/group/comp.lang.ruby/browse\_thread/thread/3e4c385e571b7156/072b7ec3ecfa9973?hl=it&](http://groups.google.it/group/comp.lang.ruby/browse_thread/thread/3e4c385e571b7156/072b7ec3ecfa9973?hl=it&)

---

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/2 "2006-02-01T17:30:17Z")

</div>

AFIK FastCgi and Ruby stuffs related are not ready for 2.2.

Try using Apache 2.0.55 and feel smooth with

[http://rubyforge.org/projects/rubyforapache](http://rubyforge.org/projects/rubyforapache)

---

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/3 "2006-02-01T17:33:17Z")

</div>

Mathieu C. wrote:

> AFIK FastCgi and Ruby stuffs related are not ready for 2.2.
> 
> Try using Apache 2.0.55 and feel smooth with
> 
> [http://rubyforge.org/projects/rubyforapache](http://rubyforge.org/projects/rubyforapache)

Thanks so much.  
–Reis

---

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/4 "2006-02-01T17:54:32Z")

</div>

On 1-feb-2006, at 17:09, Andrea R. wrote:

> I use Apache 2.2 and FastCGI 2.4.2 in windows xp.

There is a patch somewhere out there for FastCGI and Apache 2.2.  
Either hunt for that or use Mathieu’s suggestion.

–  
Regards, Charles.

---

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/5 "2006-02-01T19:28:27Z")

</div>

Official scgi 1.10 is just out which fixed Apache 2.2 compilation issue.

Kevin

---

<div class="post-metadata">

**Author:** ![reis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@reis](https://www.ruby-forum.com/u/reis)\
**Post date:** [February 1, 2006, 7:01pm UTC](https://www.ruby-forum.com/t/apache-2-2-dont-work-with-fastcgi/53318/6 "2006-02-01T19:01:10Z")

</div>

On Feb 1, 2006, at 9:28 AM, Mathieu C. wrote:

> AFIK FastCgi and Ruby stuffs related are not ready for 2.2.
> 
> Try using Apache 2.0.55 and feel smooth with
> 
> [http://rubyforge.org/projects/rubyforapache](http://rubyforge.org/projects/rubyforapache)

I have patched mod\_scgi for Apache 2.2 and Rails runs fine with it.  
I think that if you get mod\_fastcgi properly patched, you should have  
no problem with Rails.

## Kim

Kim S. - principal, Shrier and Deihl - [mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Remote Unix Network Admin, Security, Internet Software Development  
Tinker Internet Services - Superior FreeBSD-based Web Hosting  
[http://www.tinker.com/](http://www.tinker.com/)
