Haha, I misspelled hunchentoot as hunchenback, sorry :)<br><br>Andrew<br><br><div><span class="gmail_quote">On 2/6/07, <b class="gmail_sendername">Andrei Stebakov</b> <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you, Erick! I got it. Looks like <a href="http://domain.com/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
domain.com/lisp</a> puzzles it as it looks for hunchenback/test right after the domain name.<br>I added <span class="q"><br>ProxyPass /lisp <a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://127.0.0.1:3001/lisp</a><br>ProxyPassReverse /lisp <a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/lisp</a><br><br></span><span class="q">
ProxyPass /hunchentoot <a href="http://127.0.0.1:3001/hunchentoot" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/hunchentoot
</a><br>ProxyPassReverse /hunchentoot <a href="http://127.0.0.1:3001/hunchentoot" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/hunchentoot</a><br><br></span>Into my http.conf
and now I've got both lisp handler and hunchenback test!<br><br>Regards,
<br>Andrew<br><br><div><div><span class="e" id="q_110988c1f65ecca5_4"><span class="gmail_quote">On 2/6/07, <b class="gmail_sendername">Erick Lopez Carreon</b> <<a href="mailto:erick@fsl.org.mx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
erick@fsl.org.mx</a>> wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_110988c1f65ecca5_6">
On Tue, 2007-02-06 at 12:18 -0500, Andrei Stebakov wrote:<br>> I've installed the hunchentoot server, put in my Lisp lines:<br>><br>><br>> (asdf:oos 'asdf:load-op :hunchentoot-test)<br>> (hunchentoot:start-server :port 3001)
<br>><br>><br>> Now I am trying to figure out how can I display the test page (if I<br>> don't have a direct connection to my local server and the port 3001).<br>> If I try to use url like <a href="http://www.mydomain.com/lisp/hunchentoot/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.mydomain.com/lisp/hunchentoot/</a><br>> test<br>> I see the default page of Hunchentoot (with message "You're most<br>> likely seeing it because the server administrator hasn't set up a<br>
> custom default page yet").<br>> Any ideas how can I reach the test page?<br>><br><br>Hello Andrei:<br><br>first part:<br><br>I assume you already are using the "Hunchentoot behind a proxy"<br>configuration.
<br><br>If you follow the instructions on Hunchentoot page with mod_proxy you<br>should have something like this:<br><br>ProxyPass /lisp <a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://127.0.0.1:3001/lisp</a><br>ProxyPassReverse /lisp
<a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/lisp</a><br><br>So you can access the test page with :<br><a href="http://www.mydomain.com/lisp/hunchentoot/test" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.mydomain.com/lisp/hunchentoot/test</a>
<br><br>If you want access the test page using only<br><a href="http://www.mydomain.com/lisp/hunchentoot/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mydomain.com/lisp/hunchentoot/</a>
<br><br>Maybe you need use a redirect line in Apache config, or "maybe" modify the
<br>*default-handler*/default-dispatcher code.<br><br><br>Second part:<br><br>I do some configuration tests and if i use :<br><br>ProxyPass /lisp <a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://127.0.0.1:3001/lisp</a><br>ProxyPassReverse /lisp
<a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/lisp</a><br><br>I have exactly the same problem you describe, the problem seems to be the<br>
<a href="http://127.0.0.1:3001/lisp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/lisp</a> parts, try yourself some variations and you see.
<br><br>The way i got it works well is this:<br><br>ProxyPass /hunchentoot <a href="http://127.0.0.1:3001/hunchentoot" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://127.0.0.1:3001/hunchentoot
</a><br>ProxyPassReverse /hunchentoot <a href="http://127.0.0.1:3001/hunchentoot" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://127.0.0.1:3001/hunchentoot</a><br><br>An then this url ,and the links on it, work:<br><a href="http://mydomain.test/hunchentoot/test" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mydomain.test/hunchentoot/test
</a><br><br><br>Hope this helps, and i need to learn more about the proxyPass directives :)
<br><br>Best Regards!<br><br><br>--<br>Erick Ivaan Lopez Carreon -- <a href="mailto:erick@fsl.org.mx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">erick@fsl.org.mx</a><br>PGP Key 1024D/9741C03A 2004-11-19
<br>Key fingerprint = 1764 3C6F B433 B2DD 9029 98B1 8E6B 58D3 9741 C03A
<br><br><br>Participa en la FUNDACION DE SOFTWARE LIBRE, A.C.<br><br><a href="http://www.fsl.org.mx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.fsl.org.mx</a><br><br>Somos una asociación civil dedicada a promover, difundir y apoyar el uso
<br>y desarrollo del Software Libre en México.
<br><br><br></span></div>_______________________________________________<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tbnl-devel@common-lisp.net
</a><br><a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br><br></blockquote></div><br>
</blockquote></div><br>