thanks to all my web site works fine now with hunchentoot and mod_lisp.
Marc Battyani marc.battyani@fractalconcept.com writes:
Nicolas Lamirault wrote:
i did that :) i'm just trying to switch to hunchentoot+mod_lisp
i think the problems comes from Apache configuration. I start my web site in 'prod environment.
- without mod_lisp it works fine :
http://localhost:9090/index -> Http code 200, and home page correct
- with mod_lisp doesn't work
The Apache configuration :
<VirtualHost *:80> ServerName dev.foo.org ServerAdmin webmaster-dev@foo.org ErrorLog /var/log/apache/dev.foo.org-error_log CustomLog /var/log/apache/dev.foo.org-access_log common LispServer 127.0.0.1 8888 "DevOvorost" SetHandler lisp-handler
</VirtualHost>
<VirtualHost *:80> ServerName test.foo.org ServerAdmin webmaster-test@foo.org ErrorLog /var/log/apache/test.foo.org-error_log CustomLog /var/log/apache/test.foo.org-access_log common LispServer 127.0.0.1 8989 "TestOvorost" SetHandler lisp-handler
</VirtualHost>
<VirtualHost *:80> ServerName www.foo.org ServerAdmin webmaster@foo.org ErrorLog /var/log/apache/foo.org-error_log CustomLog /var/log/apache/foo.org-access_log common LispServer 127.0.0.1 9090 "ProdOvorost" SetHandler lisp-handler
</VirtualHost>
http://www.foo.org/index http://localhost/index -> http error 500
Have you enabled the virtual hosts in Apache?
NameVirtualHost *
Also don't you have <location> directives?
Here is what I use:
<VirtualHost *> ServerAdmin webmaster@host.some_domain.com DocumentRoot "/var/www/fc" ServerName otfr3.fractalconcept.com ErrorLog logs/otfr3.error.log
Redirect /index.html http://otfr3.fractalconcept.com/asp/index.html LispServer 192.168.2.200 3041 "otfr3"
<Location /asp> SetHandler lisp-handler
</Location>
</VirtualHost>
Marc
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel