Re: [users@httpd] apache won't start

2012-10-14 Thread Stormy

At 09:43 PM 10/13/2012 -0400, Yehuda Katz wrote:
On Sat, Oct 13, 2012 at 3:46 PM, Ben 
<benj@gmail.com> wrote:

* Starting web server apache2
apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax
error on line 1 of
/etc/apache2/mods-enabled/osrf_http_translator.load: Cannot load
/usr/lib/apache2/modules/osrf_http_translator.so into server:
libmemcached.so.2: cannot open shared object file: No such file or
directory


The error is that libmemcached.so is missing. Reinstall it (which I can't 
give you more information about because I can not find any documentation 
for osrf_http_translator) and you should be fine.


For Ubuntu 12.04, apt-get finds libmemcached6 which *might* work (I'm not 
sure about backwards compatibility, and memcached can be a bit "touchy".)


Regards - Paul


You could also disable that module: a2dismod osrf_http_translator .


[users@httpd] Apache - ProxyPass issue -- pls suggest

2012-10-14 Thread vivek aggarwal
Folks,
 
I am not able to forward the request from apache to tomcat when i am using the 
following configuration for ProxyPass elements :
 
 
ServerName vicky.com
ProxyPass /    http://localhost:8080/kdah
ProxyPassReverse /    http://localhost:8080/kdah
ErrorLog logs/vicky_error.log


But its working when i am using the context root(any  string value eg:- /kd ) 
as mentioned below
 
 
 
ServerName vicky.com
ProxyPass/kd   http://localhost:8080/kdah
ProxyPassReverse /kd   http://localhost:8080/kdah
ErrorLog logs/vicky_error.log


Please suggest why is it like that ??
 
 
Vicky

Re: [users@httpd] Apache - ProxyPass issue -- pls suggest

2012-10-14 Thread Eric Covener
On Sun, Oct 14, 2012 at 12:22 PM, vivek aggarwal
 wrote:
> Folks,
>
> I am not able to forward the request from apache to tomcat when i am using
> the following configuration for ProxyPass elements :
>
> 
> ServerName vicky.com
> ProxyPass /http://localhost:8080/kdah
> ProxyPassReverse /http://localhost:8080/kdah
> ErrorLog logs/vicky_error.log
> 
> But its working when i am using the context root(any  string value eg:- /kd
> ) as mentioned below
>
>
> 
> ServerName vicky.com
> ProxyPass /kd   http://localhost:8080/kdah
> ProxyPassReverse /kd   http://localhost:8080/kdah
> ErrorLog logs/vicky_error.log
> 
> Please suggest why is it like that ??
>

Tough to say without a better description of "not able" and thinks
like URL's being used and log entries.

For example -- the first stanza sends /kd/ to /kdah/kd, and the second
stanza sends /kd/ to /kdah/.

Presumably your tomcat doesn't generate the same response for both of
thuse URL's, so only one is going to work.

-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Fwd: [users@httpd] Apache - ProxyPass issue -- pls suggest

2012-10-14 Thread vicky007aggarwal
Eric

In my config file i am using only one virtual host i.e is the below one .
My objective is to use without /kd context path so that on typing vicky.com it 
should get redirected to my to my tomcat application. I tried using the same 
configuration without /kd context root( only using / slash) in that case page 
cannot be displayed error comes. Because of which i m forced to used the url 
vicky.com/kd for accessing tomcat app.

Kindly suggest how to resolve this

> 
> ServerName vicky.com
> ProxyPass /kd   http://localhost:8080/kdah
> ProxyPassReverse /kd   http://localhost:8080/kdah
> ErrorLog logs/vicky_error.log
> 

Thanks,
Vicky

Begin forwarded message:

> From: Eric Covener 
> Date: October 15, 2012, 1:37:05 AM GMT+05:30
> To: users@httpd.apache.org, vivek aggarwal 
> Subject: Re: [users@httpd] Apache - ProxyPass issue -- pls suggest
> Reply-To: users@httpd.apache.org
> 
>> 
>> ServerName vicky.com
>> ProxyPass /kd   http://localhost:8080/kdah
>> ProxyPassReverse /kd   http://localhost:8080/kdah
>> ErrorLog logs/vicky_error.log
>>