[OFBiz] Users - apache/vhost/mod_jk2 ssh login recursion
bjfree at free-man.net
bjfree at free-man.net
Thu Aug 5 18:10:57 EDT 2004
Sorry.. miss read.
time to take a nap.
-----Original Message-----
From: bjfree at free-man.net [mailto:bjfree at free-man.net]
Sent: Thursday, August 05, 2004 3:07 PM
To: users at ofbiz.dev.java.net
Subject: RE: [OFBiz] Users - apache/vhost/mod_jk2 ssh login recursion
https://test.foo.com/ecommerce/control/checkLogin/main
is SSL.
if you removed the SSL then should be
http://test.foo.com/ecommerce/control/checkLogin/main
though I have not tested if non SSL will work for login.
-----Original Message-----
From: tdjava at siliconmotorsports.com
[mailto:tdjava at siliconmotorsports.com]
Sent: Thursday, August 05, 2004 2:27 PM
To: users at ofbiz.dev.java.net
Subject: [OFBiz] Users - apache/vhost/mod_jk2 ssh login recursion
I have, what I consider, a pretty vanilla setup of ofbiz. While I
intend sometime
soon to have multiple ofbiz instances running on the same box, for now
I'm trying
to just get one site up and running.
I have apache2, mod_jk2, and a vhost setup and most of the ofbiz
functionality
(non-ssl) works fine. Quick summary of setup:
1. mod_jk2 redirecting "test.foo.com/ecommerce", "test.foo.com/images",
"test.foo.com/catalog", and "test.foo.com/ordermgr" to
ajp13:localhost:8009.
2. apache2 vhost "test.foo.com" (one day I will have foo.com be the
primary
site and run the test and production site simultaneously).
3. ofbiz-containers: removed the http/https connectors, set ajp13
host:port to
127.0.0.1:8009
4. url.properties: changed 8080/8443 to 80/443.
5. Here is the pertinent vhost configuration:
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80 *:443>
ServerName test.foo.com
DocumentRoot /var/www/foo/htdocs
<Directory "/var/www/foo/htdocs">
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Note that I replaced my actual domain with "foo"; this is a live domain
and
not some mocked up site with "foo" in my hosts file.
The problem is when I go to the login page. Firebird bails after a few
seconds
saying too many redirects occurred. IE just sits there waiting for the
page to load.
The ofbiz log is spitting out this:
...
3383392[ RequestHandler.java:422:INFO ] [Sending redirect]:
https://test.foo.com/ecommerce/control/checkLogin/main
3383395[ RequestHandler.java:200:INFO ] [Processing Request]:
checkLogin
3383397[ LoginEvents.java:172:INFO ] reqParams Map: {}
3383399[ LoginEvents.java:173:INFO ] queryString:
3383402[ LoginEvents.java:180:INFO ] checkLogin: queryString=
3383404[ LoginEvents.java:181:INFO ] checkLogin:
PathInfo=/checkLogin/main
3383409[ RequestHandler.java:336:INFO ] [RequestHandler.doRequest]:
Response is a view.
3383411[ RequestHandler.java:446:INFO ] servletName=control,
view=login
3383461[ ControlServlet.java:226:DEBUG] [[[checkLogin] Done
rendering page, Servlet Finished- total:0.069,since last([checkLogin]
Setu...):0.069]]
3383861[ ControlServlet.java:133:DEBUG] [[[checkLogin] Servlet
Starting, doing setup- total:0.0,since last(Begin):0.0010]]
3383863[ ControlServlet.java:182:DEBUG] [[[checkLogin] Setup done,
doing Event(s) and View(s)- total:0.0,since last([checkLogin]
Serv...):0.0]]
3383865[ RequestHandler.java:422:INFO ] [Sending redirect]:
https://test.foo.com/ecommerce/control/checkLogin/main
3383868[ RequestHandler.java:200:INFO ] [Processing Request]:
checkLogin
...
Also, I tried running ofbiz as root and non-root and get the same
result. It should
be fine as non-root since only 8009 is being opened.
With Firebird, I get these messages about 8 times before it fails. IE
generates them
over and over. I think it has something to do with my vhost/ssl setup,
but I'm not sure.
Can anyone shed light on this?
Thanks,
-tim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: users-help at ofbiz.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: users-help at ofbiz.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: users-help at ofbiz.dev.java.net
More information about the Users
mailing list