Displaying 3 results from an estimated 3 matches for "likewww".
Did you mean:
libwww
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My
production site will have all kinds of domains pointing to it, and I
also need to figure out how to do subdomains. Rails should react to
the host name, doing a lookup based on the name and pull different
records from the database based on this.
For example, I''d like www.mysite.com to point back to 127.0.0.1:3000,
and the
2007 Nov 27
1
routing
Hi all,
My site uses subdomains to define an item. Eg http://itemname.mysite.com
I fetch the itemname and render the appropriate site from that
itemname. The subdomain is used everywhere (eg http://itemname.mysite.com/events,
http://itemname.mysite.com/products/show/11, ...)
I now want to give the user the possibilty to use a ''real'' domain like
www.itemname.com that should
2006 Nov 17
3
Is this the "right way"?
The site I''m currently designing doesn''t have a db back end. So I''m
using rails primarily for templating and some scripting.
I approached this by creating a controller called ''main'' and various
views like "index", "welcome", "about", etc.
But then I''d get URL''s like www.mydomain.com/main/welcome when I