[hunchentoot-devel] hunchentoot and virtual hosts.
Edi Weitz
edi at agharta.de
Tue Jan 8 15:22:25 UTC 2008
On Tue, 08 Jan 2008 12:05:49 +0100, Nicolas Lamirault <nlamirault at gmail.com> wrote:
> <VirtualHost *:80>
> ServerName dev.myfoo.org
> LispServer 127.0.0.1 8888 "DevFoo"
> SetHandler lisp-handler
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerName test.myfoo.org
> LispServer 127.0.0.1 8989 "TestFoo"
> SetHandler lisp-handler
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerName myfoo.org
> LispServer 127.0.0.1 9090 "ProdFoo"
> SetHandler lisp-handler
> </VirtualHost>
>
> <VirtualHost _default_:80>
> DocumentRoot /var/www/
> </VirtualHost>
>
> i start the PROD web site with :
>
> hunchentoot:start-server :port 9090 :mod-lisp-p t
>
> i try http://www.myfoo.org, but i've got not response.
> anyone understand where is my mistake on this configuration ?
www.myfoo.org is not one of the server names mentioned in your
configuration, you only have myfoo.org.
More information about the Tbnl-devel
mailing list