# Setting up Rails Application on Apache

**URL:** <https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226>\
**Category:** Rails\
**Created:** [May 2, 2006, 1:03am UTC](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226 "2006-05-02T01:03:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skulled](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@Skulled](https://www.ruby-forum.com/u/Skulled)\
**Post date:** [May 2, 2006, 1:03am UTC](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226/1 "2006-05-02T01:03:10Z")

</div>

Hello,

I am trying to setup a rails application on a webserver running Apache  
1.3.34. But I have tried everything but its just not working.

I followed all the directions given here:  
[http://wiki.rubyonrails.org/rails/pages/GettingStartedWithRails](http://wiki.rubyonrails.org/rails/pages/GettingStartedWithRails)

But whatever I do, the Rails welcome page doesn’t show up. I am still  
only getting an index listing when I try to access the page.

I ran the rails command to create the application outside of the  
publick\_html folder, and then set up the VirtualHost definitions and  
everything properly I believe, but still no luck.

I would really appreciate if someone could point me to some resources on  
how exactly to setup an application on a remote server.

Thanks for all the help in advance. 🙂

---

<div class="post-metadata">

**Author:** ![Skulled](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@Skulled](https://www.ruby-forum.com/u/Skulled)\
**Post date:** [May 2, 2006, 8:52am UTC](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226/2 "2006-05-02T08:52:43Z")

</div>

You should post up the entries you made in your httpd.conf - that way we  
can help troubleshoot… are you trying to run regular cgi / fastcgi /  
etc?

On a related note re. fastcgi - we’ve been using oracle’s version of  
apache [called OHS] - comes bundled with fastcgi and an assortment of  
stuff. install is painless… best/fastest way to get a fastcgi server  
up and running [we did it in abt 6 minutes this morning, from nothing to  
rails app using fastcgi].

---

<div class="post-metadata">

**Author:** ![Skulled](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@Skulled](https://www.ruby-forum.com/u/Skulled)\
**Post date:** [May 3, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/setting-up-rails-application-on-apache/59226/3 "2006-05-03T18:59:15Z")

</div>

I had the same issue as I was running IIS on port 80. Please check your  
apache configuration and make sure it is pointing to a different port  
like 8080 etc. Hope it helps.

Thanks,  
Rupak Ganguly  
Webintellix  
Blog: [http://developershelf.blogspot.com](http://developershelf.blogspot.com)
