# Configuring Ruby with Apache

**URL:** <https://www.ruby-forum.com/t/configuring-ruby-with-apache/126797>\
**Category:** Ruby\
**Created:** [January 22, 2008, 10:29am UTC](https://www.ruby-forum.com/t/configuring-ruby-with-apache/126797 "2008-01-22T10:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhanukanaveen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/90ced4/32.png) [@dhanukanaveen](https://www.ruby-forum.com/u/dhanukanaveen)\
**Post date:** [January 22, 2008, 10:29am UTC](https://www.ruby-forum.com/t/configuring-ruby-with-apache/126797/1 "2008-01-22T10:29:49Z")

</div>

Hi  
I dont know how to configure Ruby(while installing) with Apache  
server.  
In PHP while we install we will give the Apache configuration path  
and we keep our .php source files in htdocs folder so that we can access  
through browser. Similarly how can do that for .rb files.

---

<div class="post-metadata">

**Author:** ![dhanukanaveen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/90ced4/32.png) [@dhanukanaveen](https://www.ruby-forum.com/u/dhanukanaveen)\
**Post date:** [January 22, 2008, 11:00am UTC](https://www.ruby-forum.com/t/configuring-ruby-with-apache/126797/2 "2008-01-22T11:00:44Z")

</div>

Naveen prakash Duraisamy kirjoitti:

> Hi  
> I dont know how to configure Ruby(while installing) with Apache  
> server.  
> In PHP while we install we will give the Apache configuration path  
> and we keep our .php source files in htdocs folder so that we can access  
> through browser. Similarly how can do that for .rb files.

Eruby. [http://www.hiveminds.co.uk/node/3094](http://www.hiveminds.co.uk/node/3094)  
or [Programming Ruby: The Pragmatic Programmer's Guide](http://ruby-doc.org/docs/ProgrammingRuby/html/web.html) (see Embedding  
Ruby in HTML)

If this seems technical to you, ask your server admin to install and  
configure Eruby for you.

Csmr
