You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chittaranjan Mandal <Ch...@iitkgp.ac.in> on 2005/03/25 09:48:07 UTC

[users@httpd] Help with apache reverse proxy (seg fault in error logs)

Hi

I have a simple requirement but nothing seems to work.
The details of a failed trial in given below.

Our web mail server is on "webmail.iitkgp.ac.in"
Webmail is accessible via
   http://webmail.iitkgp.ac.in/webmail
In webmail.iitkgp.ac.in there is an internal url rewriting to
convert all "http" requests to /webmail/ to "https" requests
and that works.

** Now I would like all http[s]://www.iitkgp.ac.in/acMail/*
** urls to be proxied by www.iitkgp.ac.in to webmail.iitkgp.ac.in.
** as https://webmail.iitkgp.ac.in/webmail/*. How can I do that?

There are plenty of examples for http proxying and those
seem to work for me. But I am unable to proxy for https.

-----------------------------
# cat /etc/httpd/conf.d/110_local.conf
SSLProxyEngine on
<Location /acMail/ >
  ProxyPass        https://mx1.iitkgp.ac.in/webmail/
  ProxyPassReverse https://mx1.iitkgp.ac.in/webmail/
</Location>

Url: http://localhost/acMail/
-----------------------------
Result on browser:
An error occurred while loading http://localhost/acMail/:

Connection to host localhost is broken
-----------------------------
# tail /var/log/httpd/error_log
[Fri Mar 25 13:59:05 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/apache2-suexec)
[Fri Mar 25 13:59:05 2005] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 25 13:59:05 2005] [notice] Digest: done
[Fri Mar 25 13:59:06 2005] [notice] Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/5mdk) mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 configured -- resuming normal operations
[Fri Mar 25 13:59:12 2005] [notice] child pid 6001 exit signal Segmentation fault (11)
[Fri Mar 25 13:59:13 2005] [notice] child pid 6002 exit signal Segmentation fault (11)
[Fri Mar 25 14:00:09 2005] [notice] child pid 6003 exit signal Segmentation fault (11)
[Fri Mar 25 14:00:10 2005] [notice] child pid 6004 exit signal Segmentation fault (11)
[Fri Mar 25 14:08:03 2005] [notice] child pid 6005 exit signal Segmentation fault (11)
[Fri Mar 25 14:08:04 2005] [notice] child pid 6007 exit signal Segmentation fault (11)

Regards
Chitta

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Help with apache reverse proxy (seg fault in error logs)

Posted by Joshua Slive <js...@gmail.com>.
On 25 Mar 2005 14:18:07 +0530, Chittaranjan Mandal
<Ch...@iitkgp.ac.in> > [Fri Mar 25 13:59:06 2005]
[notice] Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/5mdk)
mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 configured -- resuming normal
operations

That is a moderately-old version of apache,and one that may have been
heavily modified by Mandrake.  (They have a reputation in my books for
creating messed-up hacks based on apache, but I don't know anything
about that particular version.)

> [Fri Mar 25 13:59:12 2005] [notice] child pid 6001 exit signal Segmentation fault (11)

Time to get out your debugger:
http://httpd.apache.org/dev/debugging.html

Once apache has seg-faulted there is not much else you can do.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org