472,127 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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 3313

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.