Welcome! Log In Create A New Profile

Advanced

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

Francis Daly
March 12, 2015 04:10AM
On Wed, Mar 11, 2015 at 07:24:17PM -0400, dominus.ceo wrote:

Hi there,

> Actually already did that, and i got the next answere:
>
> [root@proxy-n1 ~]# curl -H "Auth-Method: plain" \
> > -H "Auth-User: ricardo.carrillo" \
> > -H "Auth-Pass: r3dh4t" \
> > -H "Auth-Protocol: imap" \
> > -H "Auth-Login-Attempt: 1" \
> > -i http://192.168.122.170:80/correo-proxy-auth/index.php
> HTTP/1.1 500 Internal Server Error
> Server: nginx/1.6.2
> Date: Wed, 11 Mar 2015 23:18:54 GMT
> Content-Type: text/html
> Transfer-Encoding: chunked
> Connection: keep-alive
> X-Powered-By: PHP/5.4.16
>
> but the error logs are not very descriptive.

That says that nginx is sending the request to php, which is a good start.

Temporarily replace the index.php file with one which just does

print_r($_SERVER)

and see what it shows when you make the same manual request. Your
objective is to see that the nginx/php integration is working.

If that request does give a sensible response, then you will want to
look more closely at your original index.php. If it does not give a
sensible response, then look more closely at what nginx sends to the php
(fastcgi) server.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 11, 2015 03:16PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

Francis Daly March 11, 2015 06:46PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 11, 2015 07:24PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

Francis Daly March 12, 2015 04:10AM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 12, 2015 03:03PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 12, 2015 07:25PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

Francis Daly March 12, 2015 08:40PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 12, 2015 09:54PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 12, 2015 10:07PM

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

dominus.ceo March 13, 2015 10:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready