Sunday, 15 April 2012

apache - How can I configure rails to not use 'www' for my website? -


I'm not sure where this setting is currently my site redirects every non-www URL to www. I am using rubber gem to deploy AWS, which in turn uses passenger, and I have seen some posts suggesting the configuration for this lie with the traveler I am using Apache 2

Sector servers is done by configuring the virtualhost (RoR or passenger).

You should make the host file local to your webserver (Apache, NGN, ..) and do something like this:

  & lt; VirtualHost *: 80 & gt; DocumentRoot / www / example1 servername example.com # other instructions are here & lt; / VirtualHost & gt;   

Perhaps this link can help you:

No comments:

Post a Comment