http-status-code-500

PHP: POST Request to ASP.NET website results in 500 server error when html tags included

My situation: I need to send text to an ASP.NET web service using POST. The entire page there is a form: <form name="aspnetForm" method="post" action="Discussion.aspx?classroom=lG39il1cotOAGJwiNvmQlIPfwmjikD%2fAHLhjjGInAZQ%3d&amp;Page=Posts&amp;ID=794239&amp;Sort=&amp;SortOrder=" id="aspnetForm"> So, I figured if I sent a POST request...

PHP's apache_setenv function causes 500 Internal Server Error

apache_setenv ( 'no-gzip', 1 ) I'm trying to disable gzip for a certain page's output, but only that page. This works fine on testing servers, but not the production server, which is running the same thing (CentOS and Apache), works on Ubuntu though. Anyway, do you know why? Or is there some other alternative? I was thinking of using...

HTTP 500 ERROR on CAS Server while setting SSLVerifyClent as "required"

I have 3 servers, a Apache Server, a JBOSS Server and a CAS Server for SSO. The Apache Server resolve all request with a domain such as www.request.com, and the path of CAS Server is www.request.com/cas, and JBOSS Server is www.request.com/jboss (This app got a CAS client). My problem is if I set SSLVerifyClient require for the Name...

How to test 500.html in (django) development env?

I am using Django for a project and is already in production. In the production environment 500.html is rendered whenever a server error occurs. How do I test the rendering of 500.html in dev environment? Or how do I render 500.html in dev, if I turn-off debug I still get the errors and not 500.html background: I include some page ele...

Symfony custom route works with frontend_dev.php but not with index.php

Am I missing something or should my custom route work with the index.php (or nothing) instead of frontend_dev.php? I'm getting a 500 error when I go to the model, and a 404 for the show page. My route is: project_show: url: /project/:slug class: sfDoctrineRoute options: { model: Project, type: object } param: { module: p...

How do I change the owner/group of a file in my server?

I am getting a 500 error because the owner of some of my files is set incorrectly, its set at 0 0 when the rest are at 510 510?? How do I fix this, I've read something about ssh? ...

nginx multiple domain virtual host configuration

I'm setting up nginx with multiple domain or wildcard support for convenience sake, rather than setting up 50+ different sites-available/* files. Hopefully this is enough to show you what I'm trying to do. Some are static sites, some are dynamic with usually wordpress installed. If an index.php exists, everything works as expected. I...

Should I Return "500" or "404" if a Requested Image is not Found?

I work with code written by other people, occasionally I am left somewhat confused and at these times Stack Overflow saves me. Please, save me again. Our site allows people to upload images and later embed them within text in our site like so: <img src="http://site.com/image_script.php?p=some_image_identifier"/&gt; My question is: I...

How to make some URL mappings depending on the environment?

When getting an HTTP status code 500, I want to display 2 different pages according to the running environment. In development mode, I want to display a stackStrace page (like the default Grails 500 error page) and in production mode, I want to display a formal "internal error" page. Is it possible and how can I do that ? ...

Installing Wordpress on a windows server = omg.

Hello, It's not the first time that i install wordpress on a linux hosting BUT this is the first time i have to do that on a windows server. I upload the latest version on the FTP : go to my www.mydomain.com error 500. okay.... maybe one file is corrupted, i re-upload them... go to my www.mydomain.com : error 500. If I do : www.mydo...

PHP Force Apache error

Hi dear stackers :P Thanks to this forum, I learnt PHP header function does not actually send header to Apache server but only to the client. What I wanna do is to generate an error 500, and let Apache displays its corresponding page. Is there a way to force it ? Thanks in advance ! (and allez les bleus !) ...

iis 7.0 Internal 500 Error

Hi All, i am tearing my hair out. I have read every post on the internet and cannot for the life of me figure out HOW to force IIS 7.0 on 2008 to display detailed errors. I have published a .net 4.0 app. i am at a complete loss. thanks! ...

apache & php 500 error nightmares

I was trying to add curl support to php on a VPS, and after logging in and trying to perform a php upgrade, my site gives me a 500 error every time I try to access it. So, I tried refreshing apache install with easyApache, and it went swimmingly outside of the fact that php scripts still didn't work. I decided there must be something g...

PHP emitting 500 on errors - where is this documented?

In this question the OP mentions PHP throwing a 500 error automatically when error_reporting is off, and XDebug changing that behaviour. That got me curious, as I've never heard of PHP automatically emitting 500s before. According to various quotes and answers on SO and elsewhere, it seems to indeed be PHP's default behaviour to throw a...

Impossible to show errors with PHP under IIS7.5

The server is : Win 2008 R2 Php version is 5.2 if I remember correctly. (has been installed along with wordpress & mysql with WPI). I did install wordpress along with arras-theme. On some pages I do have 500 errors. Problem is, can't really debug and fix the error as it's 500, no errors are showing (no fatal/warning/notice or nothing). ...

iframe domain issues leading to 500 internal server error

Hi, I have a strange issue with a website that cannot reference any resources from another site. The source site (A) is trying to iframe a page from the other site (B). For some reason, site (B) is returning a 500 internal server error. I then tried just to reference a simple image from site (B) with a tag and that returned a 404....

Silverlight 4 OOB + Browser HTTP Stack + Client Certificates = FAIL?

I'm having an issue where IIS 7.5 (on Windows 7 64-bit) is failing when I call it from an out-of-browser Silverlight 4 app using SSL and a client certificate, with the message "The I/O operation has been aborted because of either a thread exit or an application request. (0x800703e3)". The request does make it to IIS. here is a sample fr...

My domain is returning a 500 error, where can I find an error log, or how can I resolve the problem?

Hi, I'm currently getting a 500 error (apparently) on ballpointhosting.com, even though I'm sure I've configured it correctly. Where can I find my error log on Linux? Willing to provide more details if you need... ...

How do you detect what page caused the Internal Server Error?

So, in my .htaccess file I have this ErrorDocument lines: ErrorDocument 500 http://www.example.com/500 Since my server runs multiple websites from the same core files, I just want to redirect all internal server errors to the same processing page. However, my problem is that it doesn't send any information about the page that cause th...

How to configure PHP to display detailed errors instead of error 500 page?

I have a PHP application deployed on my IIS hosting and I am always getting generic IIS "error 500" pages insteady of detailed error pages. I understand I need to modify some php.ini file (from this question). It seems that display_errors is set correctly: echo ini_get('display_errors'); outputs 1. I have also tried setting displa...