[Lispweb] Handling 'www.' in a domain name

Jonathon McKitrick jcm at FreeBSD-uk.eu.org
Fri Oct 6 08:56:30 CDT 2006

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.

More information about the lispweb mailing list