# Problems- eruby and apache

**URL:** <https://www.ruby-forum.com/t/problems-eruby-and-apache/115816>\
**Category:** Ruby\
**Created:** [September 28, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/problems-eruby-and-apache/115816 "2007-09-28T18:49:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wibblecp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/0ea827/32.png) [@wibblecp](https://www.ruby-forum.com/u/wibblecp)\
**Post date:** [September 28, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/problems-eruby-and-apache/115816/1 "2007-09-28T18:49:16Z")

</div>

Hi everyone, I am really newbie in ruby wonderful world

I am trying to use the useful eruby in my demo project

## Reading all around the net, I have to set some rows in my apache2.conf or http.conf file

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

or using Action application/x-httpd-eruby /cgi-bin/eruby (eruby is  
present in /usr/lib/cgi-bin/)

## When I restart my apache server it responds:

Invalid command “Action”, perphaps misspelled or defined by a module not  
included in the server configuration.

My apache provides mod\_ruby, eruby is installed.  
CGI support is available

Can you help me!

Thanks . bye

---

<div class="post-metadata">

**Author:** ![wibblecp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/0ea827/32.png) [@wibblecp](https://www.ruby-forum.com/u/wibblecp)\
**Post date:** [September 28, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/problems-eruby-and-apache/115816/2 "2007-09-28T19:06:15Z")

</div>

ok. Now every things is fine

See [http://wiki.modruby.net/en/?InstallGuide](http://wiki.modruby.net/en/?InstallGuide)

Bye

WibbleCP ha scritto:
