I've installed the hunchentoot server, put in my Lisp lines:
(asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 3001)
Now I am trying to figure out how can I display the test page (if I don't have a direct connection to my local server and the port 3001). If I try to use url like http://www.mydomain.com/lisp/hunchentoot/ test I see the default page of Hunchentoot (with message "You're most likely seeing it because the server administrator hasn't set up a custom default page yet"). Any ideas how can I reach the test page? Thank you, Andrew
On Tue, 2007-02-06 at 12:18 -0500, Andrei Stebakov wrote:
I've installed the hunchentoot server, put in my Lisp lines:
(asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 3001)
Now I am trying to figure out how can I display the test page (if I don't have a direct connection to my local server and the port 3001). If I try to use url like http://www.mydomain.com/lisp/hunchentoot/ test I see the default page of Hunchentoot (with message "You're most likely seeing it because the server administrator hasn't set up a custom default page yet"). Any ideas how can I reach the test page?
Hello Andrei:
first part:
I assume you already are using the "Hunchentoot behind a proxy" configuration.
If you follow the instructions on Hunchentoot page with mod_proxy you should have something like this:
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
So you can access the test page with : http://www.mydomain.com/lisp/hunchentoot/test
If you want access the test page using only http://www.mydomain.com/lisp/hunchentoot/
Maybe you need use a redirect line in Apache config, or "maybe" modify the *default-handler*/default-dispatcher code.
Second part:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be the http://127.0.0.1:3001/lisp parts, try yourself some variations and you see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
An then this url ,and the links on it, work: http://mydomain.test/hunchentoot/test
Hope this helps, and i need to learn more about the proxyPass directives :)
Best Regards!
Thank you, Erick! I got it. Looks like domain.com/lisp puzzles it as it looks for hunchenback/test right after the domain name. I added ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
Into my http.conf and now I've got both lisp handler and hunchenback test!
Regards, Andrew
On 2/6/07, Erick Lopez Carreon erick@fsl.org.mx wrote:
On Tue, 2007-02-06 at 12:18 -0500, Andrei Stebakov wrote:
I've installed the hunchentoot server, put in my Lisp lines:
(asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 3001)
Now I am trying to figure out how can I display the test page (if I don't have a direct connection to my local server and the port 3001). If I try to use url like http://www.mydomain.com/lisp/hunchentoot/ test I see the default page of Hunchentoot (with message "You're most likely seeing it because the server administrator hasn't set up a custom default page yet"). Any ideas how can I reach the test page?
Hello Andrei:
first part:
I assume you already are using the "Hunchentoot behind a proxy" configuration.
If you follow the instructions on Hunchentoot page with mod_proxy you should have something like this:
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
So you can access the test page with : http://www.mydomain.com/lisp/hunchentoot/test
If you want access the test page using only http://www.mydomain.com/lisp/hunchentoot/
Maybe you need use a redirect line in Apache config, or "maybe" modify the *default-handler*/default-dispatcher code.
Second part:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be the http://127.0.0.1:3001/lisp parts, try yourself some variations and you see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
An then this url ,and the links on it, work: http://mydomain.test/hunchentoot/test
Hope this helps, and i need to learn more about the proxyPass directives :)
Best Regards!
-- Erick Ivaan Lopez Carreon -- erick@fsl.org.mx PGP Key 1024D/9741C03A 2004-11-19 Key fingerprint = 1764 3C6F B433 B2DD 9029 98B1 8E6B 58D3 9741 C03A
Participa en la FUNDACION DE SOFTWARE LIBRE, A.C.
Somos una asociación civil dedicada a promover, difundir y apoyar el uso y desarrollo del Software Libre en México.
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
Haha, I misspelled hunchentoot as hunchenback, sorry :)
Andrew
On 2/6/07, Andrei Stebakov lispercat@gmail.com wrote:
Thank you, Erick! I got it. Looks like domain.com/lisp puzzles it as it looks for hunchenback/test right after the domain name. I added ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
Into my http.conf and now I've got both lisp handler and hunchenback test!
Regards, Andrew
On 2/6/07, Erick Lopez Carreon erick@fsl.org.mx wrote:
On Tue, 2007-02-06 at 12:18 -0500, Andrei Stebakov wrote:
I've installed the hunchentoot server, put in my Lisp lines:
(asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 3001)
Now I am trying to figure out how can I display the test page (if I don't have a direct connection to my local server and the port 3001). If I try to use url like http://www.mydomain.com/lisp/hunchentoot/ test I see the default page of Hunchentoot (with message "You're most likely seeing it because the server administrator hasn't set up a custom default page yet"). Any ideas how can I reach the test page?
Hello Andrei:
first part:
I assume you already are using the "Hunchentoot behind a proxy" configuration.
If you follow the instructions on Hunchentoot page with mod_proxy you should have something like this:
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
So you can access the test page with : http://www.mydomain.com/lisp/hunchentoot/test
If you want access the test page using only http://www.mydomain.com/lisp/hunchentoot/
Maybe you need use a redirect line in Apache config, or "maybe" modify the *default-handler*/default-dispatcher code.
Second part:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be the http://127.0.0.1:3001/lisp parts, try yourself some variations and you see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
An then this url ,and the links on it, work: http://mydomain.test/hunchentoot/test
Hope this helps, and i need to learn more about the proxyPass directives :)
Best Regards!
-- Erick Ivaan Lopez Carreon -- erick@fsl.org.mx PGP Key 1024D/9741C03A 2004-11-19 Key fingerprint = 1764 3C6F B433 B2DD 9029 98B1 8E6B 58D3 9741 C03A
Participa en la FUNDACION DE SOFTWARE LIBRE, A.C.
Somos una asociación civil dedicada a promover, difundir y apoyar el uso y desarrollo del Software Libre en México.
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Tue, 06 Feb 2007 13:10:07 -0600, Erick Lopez Carreon erick@fsl.org.mx wrote:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be the http://127.0.0.1:3001/lisp parts, try yourself some variations and you see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
Yes, the example is not quite clear and should use /hunchentoot instead of /lisp. I'll change that.
Cheers, Edi.
Actually, jusp putting in http.conf:
ProxyPass /lisp http://127.0.0.1:3001 http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001 http://127.0.0.1:3001/lisp
fixes the problem, so now I can refer to the test as www.domain.com/lisp/hunchentoot/test which first redirects it to 127.0.0.3001 and then uses "hunchentoot/test" as a function id.
Thank you, guys!
Andrew
On 2/6/07, Edi Weitz edi@agharta.de wrote:
On Tue, 06 Feb 2007 13:10:07 -0600, Erick Lopez Carreon erick@fsl.org.mx wrote:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be
the
http://127.0.0.1:3001/lisp parts, try yourself some variations and you
see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
Yes, the example is not quite clear and should use /hunchentoot instead of /lisp. I'll change that.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
Oops, this just shows the first page of the test web (the menu). As I go to any other link it get a "Not found" message. Looks like there shouldn't be any "lisp" in the url after all.
Andrew
On 2/6/07, Andrei Stebakov lispercat@gmail.com wrote:
Actually, jusp putting in http.conf:
ProxyPass /lisp http://127.0.0.1:3001 http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001 http://127.0.0.1:3001/lisp
fixes the problem, so now I can refer to the test as www.domain.com/lisp/hunchentoot/test which first redirects it to 127.0.0.3001 and then uses "hunchentoot/test" as a function id.
Thank you, guys!
Andrew
On 2/6/07, Edi Weitz edi@agharta.de wrote:
On Tue, 06 Feb 2007 13:10:07 -0600, Erick Lopez Carreon erick@fsl.org.mx wrote:
I do some configuration tests and if i use :
ProxyPass /lisp http://127.0.0.1:3001/lisp ProxyPassReverse /lisp http://127.0.0.1:3001/lisp
I have exactly the same problem you describe, the problem seems to be
the
http://127.0.0.1:3001/lisp parts, try yourself some variations and you
see.
The way i got it works well is this:
ProxyPass /hunchentoot http://127.0.0.1:3001/hunchentoot ProxyPassReverse /hunchentoot http://127.0.0.1:3001/hunchentoot
Yes, the example is not quite clear and should use /hunchentoot instead of /lisp. I'll change that.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel