Re: Handling 'www.' in a domain name
Jonathon McKitrick <[email protected]> Fri, 6 Oct 2006 14:56:30 +0100
| Newsgroups | gmane.lisp.web |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 06, 2006 at 07:05:44AM -0500, Brian Mastenbrook wrote: : (make-instance 'serve-event-reverse-proxy-listener : :translations : `((,(urlstring *url-root*) : (:wild-host "/"))) : :address #(0 0 0 0) : :port *internal-port*) : : Replace the (:wild-host "/") with "foo.com" if you like. Thanks, that did the trick. However it also translates all sub-urls to the homepage. So "www.foo.com/about" translates back to "www.foo.com". Is there another way to set up wild-host to accept sub-urls again? Jonathon McKitrick -- My other computer is your Windows box.