Ruby on Rails Wednesday, July 2, 2014


I can't seem to figure out how I can change the port and the document root (/invoices instead of /rails/invoices) in tomcat.


Changing the port number can be done in the Connector element in server.xml


By changing the name of rails.war (generated by warbler) into ROOT.war, the rails component of the URL will disappear.

--
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/e8aa803c-16a2-4cba-93e7-015f90de0749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment