You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/06/11 08:05:10 UTC
Re: [users@httpd] question about proxy aware site
I am also facing a similar problem and have not been able to debug
it.But may be this can help you.
In the Apache vhost on Proxy add following
CustomLog /var/log/apache2/siteinproblem-resp_log resp
LogFormat "%{X-Forwarded-For}i %D %t" resp
in the above LogFormat the variables I have used are %{X-Forwarded-For}
%D and %t you may like to check which virtual host or IP is serving
the request coming on your website.
Depending upon your need you may like to record different things being
served by your Apache virtualhost
you can read about which parameter to put and which not to put in LogFormat here
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
also make sure
if you ping to your website from your proxy server you get a reply
with internal IP and it does not go to resolve from a public IP.
I had a similar problem and that solved.It may not be exact thing for
you but checking the log this way can give you some clue.
On Mon, Jun 14, 2010 at 11:29 AM, J. Bakshi <jo...@infoservices.in> wrote:
> Dear list,
>
> I have a problem with a site when accesses via proxy. I have no clue yet how to debug or in what direction, so please bear with me.
>
> The site in question has no problem to be accessed and to download pdf from it. but from a network which has proxy server faces problem during download. i.e. it is not possible to download anything from the site but if the users come out from their intranet settings and access the sites, they have no problem to download. Can I do something within apache so that it can honor the request from proxy or is it an issue to be fixed in php ?
>
> I'll be grateful if someone kindly show me the right track to fix/debug this issue .
> Thanks for your time.
>
> ---------------------------------------------------------------------
> 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
>
>
--
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
---------------------------------------------------------------------
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] question about proxy aware site
Posted by "J. Bakshi" <jo...@infoservices.in>.
Many many thanks. I'll surely check all these one by one.
Have a nice time.
On Fri, 11 Jun 2010 11:35:10 +0530
Tapas Mishra <mi...@gmail.com> wrote:
> I am also facing a similar problem and have not been able to debug
> it.But may be this can help you.
> In the Apache vhost on Proxy add following
>
> CustomLog /var/log/apache2/siteinproblem-resp_log resp
> LogFormat "%{X-Forwarded-For}i %D %t" resp
>
> in the above LogFormat the variables I have used are
> %{X-Forwarded-For} %D and %t you may like to check which virtual host
> or IP is serving the request coming on your website.
> Depending upon your need you may like to record different things being
> served by your Apache virtualhost
> you can read about which parameter to put and which not to put in
> LogFormat here
> http://httpd.apache.org/docs/2.2/mod/mod_log_config.html also make
> sure if you ping to your website from your proxy server you get a
> reply with internal IP and it does not go to resolve from a public IP.
> I had a similar problem and that solved.It may not be exact thing for
> you but checking the log this way can give you some clue.
>
> On Mon, Jun 14, 2010 at 11:29 AM, J. Bakshi <jo...@infoservices.in>
> wrote:
> > Dear list,
> >
> > I have a problem with a site when accesses via proxy. I have no
> > clue yet how to debug or in what direction, so please bear with me.
> >
> > The site in question has no problem to be accessed and to download
> > pdf from it. but from a network which has proxy server faces
> > problem during download. i.e. it is not possible to download
> > anything from the site but if the users come out from their
> > intranet settings and access the sites, they have no problem to
> > download. Can I do something within apache so that it can honor the
> > request from proxy or is it an issue to be fixed in php ?
> >
> > I'll be grateful if someone kindly show me the right track to
> > fix/debug this issue . Thanks for your time.
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>
>
>
---------------------------------------------------------------------
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