Raised This Month: $41 Target: $400
 10% 

Getting error 500 with Nginx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cruckes
Member
Join Date: Jun 2014
Location: Finland
Old 01-02-2015 , 05:48   Getting error 500 with Nginx
Reply With Quote #1

I'm getting error 500 when I try to login to my Sourcebans/go anywhere else than dashboard.

It gives the following problem to error.log:
Quote:
[error] 14540#0: *23 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: [myip], server: [myhost], request: "GET /index.php/login HTTP/1.1", host: "[myhost]", referrer: "http://[myhost]/"
I'm hosting Sourcebans in my VPS.
PHP version is PHP Version 5.4.36-0+deb7u1 and OS is Debian 7 32-bit.
Nginx version is 1.2.1-2.2+wheezy3.

I have installed following php packages to VPS:
php-apc, php-pear, php5, php5-cgi, php5-cli, php5-common, php5-fpm, php5-mysql.

Last edited by Cruckes; 01-02-2015 at 05:58. Reason: 1. Added more info about VPS. 2. Added installed php packages.
Cruckes is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 01-02-2015 , 10:16   Re: Getting error 500 with Nginx
Reply With Quote #2

Post your nginx server configuration file for the domain
Rytis is offline
Cruckes
Member
Join Date: Jun 2014
Location: Finland
Old 01-02-2015 , 10:31   Re: Getting error 500 with Nginx
Reply With Quote #3

Quote:
Originally Posted by Rytis View Post
Post your nginx server configuration file for the domain
Oh I forget to edit *again*.
Got it work.
Cruckes is offline
darkoplin
Junior Member
Join Date: Mar 2017
Location: Hungary
Old 03-13-2021 , 14:18   Re: Getting error 500 with Nginx
Reply With Quote #4

I ran into the same problem and needed help
darkoplin is offline
CryWolf
Senior Member
Join Date: Jul 2008
Location: Romania
Old 03-13-2021 , 17:19   Re: Getting error 500 with Nginx
Reply With Quote #5

Quote:
Originally Posted by darkoplin View Post
I ran into the same problem and needed help
post your nginx.conf, and error.log from /var/log/nginx/ it's something from rewrite module, or you're using an old version of PHP, Nginx
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:43.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode