Trying to configure Apache HTTPD with Ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Trying to configure Apache HTTPD with Ofbiz

Sanjeev Gupta
Hi,
I'm following the steps given in the link below to configure Apache HTTPD server with Ofbiz on the windows.
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp

However when i try to start the HTTPD server, i get the error "The requested operation has failed!". I checked the error.log on the HTTPD server but nothing in there.

Any idea what i could be doing wrong ??
Rgds
Sanjeev Gupta
www.digitalwebadvisors.com
Reply | Threaded
Open this post in threaded view
|

Re: Trying to configure Apache HTTPD with Ofbiz

Rajbir Saini
Most of the time, the problem is with the bad configuration e.g missing
private key, SSL certificate etc. I am not sure about Windows but in
Linux world we generally use 'httpd configtest' or 'apachectl
configtest' or 'apache2ctl configtest' depending on the httpd binary.

Thanks,

Raj

On Monday 09 July 2012 08:08 PM, Sanjeev Gupta wrote:

> Hi,
> I'm following the steps given in the link below to configure Apache HTTPD
> server with Ofbiz on the windows.
> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp
>
> However when i try to start the HTTPD server, i get the error "The requested
> operation has failed!". I checked the error.log on the HTTPD server but
> nothing in there.
>
> Any idea what i could be doing wrong ??
>
> -----
> Rgds
> Sanjeev
> www.sanjeevg.com
> @sanjeevgcom
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: Trying to configure Apache HTTPD with Ofbiz

BJ Freeman
In reply to this post by Sanjeev Gupta
first start with a clean config file for httpd.
add the VirtualHost to see if that works.

if you notice there are different cofigureation for different httpd servers
if you have more problems I suggest you get on the httpd mailing list.

[hidden email]

Sanjeev Gupta sent the following on 7/9/2012 7:38 AM:

> Hi,
> I'm following the steps given in the link below to configure Apache HTTPD
> server with Ofbiz on the windows.
> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp
>
> However when i try to start the HTTPD server, i get the error "The requested
> operation has failed!". I checked the error.log on the HTTPD server but
> nothing in there.
>
> Any idea what i could be doing wrong ??
>
> -----
> Rgds
> Sanjeev
> www.sanjeevg.com
> @sanjeevgcom
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Trying to configure Apache HTTPD with Ofbiz

BJ Freeman
you can also go to the Apache repo
http://svn.apache.org/repos/asf/httpd
and view histories.
I looked and they were working with SSL june 12th

BJ Freeman sent the following on 7/9/2012 1:40 PM:

> first start with a ean config file for httpd.
> add the VirtualHost to see if that works.
>
> if you notice there are different cofigureation for different httpd servers
> if you have more problems I suggest you get on the httpd mailing list.
>
> [hidden email]
>
> Sanjeev Gupta sent the following on 7/9/2012 7:38 AM:
>> Hi,
>> I'm following the steps given in the link below to configure Apache HTTPD
>> server with Ofbiz on the windows.
>> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp
>>
>>
>> However when i try to start the HTTPD server, i get the error "The
>> requested
>> operation has failed!". I checked the error.log on the HTTPD server but
>> nothing in there.
>>
>> Any idea what i could be doing wrong ??
>>
>> -----
>> Rgds
>> Sanjeev
>> www.sanjeevg.com
>> @sanjeevgcom
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620.html
>>
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Trying to configure Apache HTTPD with Ofbiz

Sanjeev Gupta
In reply to this post by Sanjeev Gupta
Thanks Rajbir, BJ for your prompt help.
I think I've figured it out the problem - it's attributed to a couple of things ..

1) mod_rewrite wasn't enabled while the VirtualHost had RewriteEngine set to On.
2) as Rajbir said, SSL wasn't configured correctly.. Apache HTTPD doesn't come with any default SSL Key, so until you create and configure one, it'll keep throwing an error.

Hopefully once I'm able to deploy a SSL key, I should be all set.

Will post back if I find out any other issues..
Rgds
Sanjeev Gupta
www.digitalwebadvisors.com
Reply | Threaded
Open this post in threaded view
|

Re: Trying to configure Apache HTTPD with Ofbiz

BJ Freeman
I use webmin which has tools for setting up SSL.

Sanjeev Gupta sent the following on 7/10/2012 12:08 AM:

> Thanks Rajbir, BJ for your prompt help.
> I think I've figured it out the problem - it's attributed to a couple of
> things ..
>
> 1) mod_rewrite wasn't enabled while the VirtualHost had RewriteEngine set to
> On.
> 2) as Rajbir said, SSL wasn't configured correctly.. Apache HTTPD doesn't
> come with any default SSL Key, so until you create and configure one, it'll
> keep throwing an error.
>
> Hopefully once I'm able to deploy a SSL key, I should be all set.
>
> Will post back if I find out any other issues..
>
> -----
> Rgds
> Sanjeev
> www.sanjeevg.com
> @sanjeevgcom
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Trying-to-configure-Apache-HTTPD-with-Ofbiz-tp4634620p4634645.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>