469,344 Members | 5,424 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Rails URL Rewrite help needed

1
Hey Guys

I need some help.

Firstly:

Running Rails 2.0.x
cPanel Version 11.16.0-RELEASE
Shared hosting.
My App is not in public_html/ but under home/usr/rails_apps/(rubyapp)

Please tell me how I get my rails app which is using the port eg

http://www.domain.com:12001/

to be accessible without having to have users type the port, or even see
the port ( the :12001 bit)

Basically, in CPANEL, under ROR you can create a URL rewrite to either a
subdomain, folder or add on domain, but I cannot get it to work. Once a
URL is created in CPANEL, I try to view the url but get a 404.

I'd like to be able to access the RoR app through both a subdomain (e.g.
myrubyapp.domain.com) and a folder eg (www.domain.com/arandomfolder/)

How do I do this?

Thanks,
Q
Jan 4 '08 #1
0 3243

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

23 posts views Thread by flab ba | last post: by
4 posts views Thread by JZ | last post: by
28 posts views Thread by flamesrock | last post: by
42 posts views Thread by kenneth.m.mcdonald | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.