[hunchentoot-devel] hunchentoot and virtual hosts.
Nicolas Lamirault
nlamirault at gmail.com
Tue Jan 8 11:05:49 UTC 2008
hello.
I've got a web project which have differents environment : dev, test
and prod.
i've got 3 web site : http://localhost:8888, http://localhost:8989,
and http://localhost:9090 for theses environments.
i would like to make 3 virtual hosts using apache+modlisp+hunchentoot
i modify httpd.conf life this :
<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 ?
thanks for any help
--
Nicolas Lamirault
More information about the Tbnl-devel
mailing list