Ruby on Rails
Monday, January 27, 2014
If I understand you correctly, you want to deploy your rails app to sub-uri. There's a how-to in passenger documentation:http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri
I think you don't have to put ServerName xxx.xxx.xx.xx at all in your VirtualHost file, because ServerName is a host name not an ip address:http://httpd.apache.org/docs/2.2/mod/core.html#servername
you should put the passenger config in a default virtualhost for your apache installation.
I think you don't have to put ServerName xxx.xxx.xx.xx at all in your VirtualHost file, because ServerName is a host name not an ip address:http://httpd.apache.org/docs/2.2/mod/core.html#servername
you should put the passenger config in a default virtualhost for your apache installation.
Hi Martins,
yes, you understand me correctly :)
I checked the links which you provide and its very helpful to me and i solved my problem.
Thanks!
Saravanan P
On Fri, Jan 24, 2014 at 1:54 PM, Mārtiņš Poļakovs <martins.polakovs@gmail.com> wrote:
Hi,
If I understand you correctly, you want to deploy your rails app to sub-uri. There's a how-to in passenger documentation: http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri
I think you don't have to put ServerName xxx.xxx.xx.xx at all in your VirtualHost file, because ServerName is a host name not an ip address: http://httpd.apache.org/docs/2.2/mod/core.html#servername
you should put the passenger config in a default virtualhost for your apache installation.
On Wednesday, January 22, 2014 1:04:50 PM UTC+2, saravanan p wrote:Hi,Good evening!Is that possible to point like below<VirtualHost *:80>ServerName xxx.xxx.xx.x/mysite #server ip addressDocumentRoot /path/to/projects/publicRailsEnv development<Directory /path/to/projects/public>AllowOverride allOptions -MultiViews</Directory></VirtualHost>and Can I access xxx.xxx.xx.x/mysite in my browser? I tries this but its doesn't work...// hosts filexxx.xxx.xx.x xxx.xxx.xx.x/mysiteis this possible or we have to give only name (domain name) ? i.e example.com/mysite
--To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/acaaea8c-528d-4f45-8952-81414b46e681%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOxyzk27Vx%2BvSAzzbt590ivP0NUzi_ahk324D5-A_TV_ZDVBaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment