Did you read 
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD
 ?

Jacques

Le 17/10/2014 16:14, Adrian Stern a écrit :
Hi

Since my Setup is still not anywhere usable, I decided to install a demo
server. With this, discussions should become easier.

I did the configuration with what little information i found, and my
request does reach Ofbiz. There is output generated when accessing
<ip>/webtools - in the stdout.
But I do not receive any HTTP-response at all. Accessing the IP directly
will return a white screen (not one tag in the source), but only if ofbiz
is running. If Ofbiz is not running, I get "Service Unavailable" from
Apache.

Console output form Ofbiz (ant start): http://pastebin.com/UJnMZZ9r
Source of my configuration:
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD

When Accessing the <IP> without sub directory i get:
...[17/Oct/2014:15:31:33 +0200] "GET / HTTP/1.1" 404 - "-" "Mozilla/5....

When Accessing a sub directory:
...[17/Oct/2014:15:33:15 +0200] "GET /webtools/ HTTP/1.1" 302 - "-"
"Mozilla/5....
...[17/Oct/2014:15:33:15 +0200] "GET /webtools/control/main HTTP/1.1" 303 -
"-" "Mozilla/5....

So I'm not sure where the configuration error lies. Since my request
reaches Ofbiz, it would make sense that i forgot something.

For Example: The Cookbook says: Don't forget to edit ofbiz-containers.xml
and url.properties file (change 8080 to 80 and 8443 to 443) but there is
nothing to change inside ofbiz-containers.xml. No Port-Number at all. Any
Idea?

Configuration:
Server :Opensuse 13.1
I used the template vhost.template to create
/etc/apache2/vhosts.d/httpd.conf. And i used vhost-ssl.template to create
/etc/apache2/vhosts.d/config/httpd-ssl.conf. I was not sure where to put
the code from the cookbook.

.../vhosts.d/httpd.conf: http://pastebin.com/TNnkYVGt
.../vhosts.d/conf/httpd-ssl.conf: http://pastebin.com/y4cD08Th

Also, this link from the cookbook does no longer work:
http://www.viithiisys.com/web/raj/blog/-/blogs/apache-proxypassreverse-directive?_33_redirect=%252Findex.html

Thanks in advance.

Regards,

Adrian Stern
unchained - web solutions

adrian.st...@unchained.ch
+41 79 292 83 47

Reply via email to