Skip to content

Internel server error 500 on IIS windows server #72

Description

@stef-pellegrino

Hello,

Under IIS 10, windows server 2022, compiled the libfcgi. Testing sample (below), 64 bit, vs2022 :

int main(int argc, char *argv)
{
	int count = 0;
	
	while (FCGI_Accept() >= 0) {
		printf("Content-type: text/html\r\n\r\n"
		       "Request: %d on host %s", count++,
		       getenv("SERVER_NAME"));
	}
	return (0);
}

With CGI Module, it works, but if I switch to FastCGIModule, I get:

HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Length: 5686
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/10.0

The crash is inside libfcgi.dll according to windows log... :(

Any idea ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions