PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.win > internal server error for php url submit containing chinese on windows 2000
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.win Web servers for MS Windows and NT.

internal server error for php url submit containing chinese on windows 2000

Réponse
 
LinkBack Outils de la discussion
Vieux 03/08/2005, 05h39   #1
accessyou@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut internal server error for php url submit containing chinese on windows 2000

A simple url submit containing only english characters are OK:

http://www.abc.com/submit.php?msg=test

If the value of msg is replaced with a chinese:

http://www.abc.com/submit.php?msg=䏿–‡

We encounter the following error
==============================Â========
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator,
webmas...@dummy-host.example.com and inform them of the time the error
occurred, and anything you might have done that may have caused the
error.

More information about this error may be available in the server error
log.
==============================Â============

Apache error:
======================
[Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
argument: couldn't create child process: 22: php-cgi.exe
[Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
argument: couldn't spawn child process: C:/PHP/php-cgi.exe
==============================Â================== ========

Apache configuration file
==================
AddDefaultCharset OFF
AddCharset Big5 .Big5 .big5
AddCharset big5 .big5 .b5
======================

********** I have placed the same php code on my webhosting server
(which is a linux one) and there is no such error.
What should be modified in my windows server.

Pls kindly advise.

  Réponse avec citation
Vieux 05/08/2005, 15h06   #2
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: internal server error for php url submit containing chinese on windows 2000

<accessyou@gmail.com> schreef in bericht
news:1123043994.174584.178100@f14g2000cwb.googlegr oups.com...
> A simple url submit containing only english characters are OK:
> http://www.abc.com/submit.php?msg=test
> If the value of msg is replaced with a chinese:
> http://www.abc.com/submit.php?msg=??
> Apache error:
> ======================
> [Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
> argument: couldn't create child process: 22: php-cgi.exe
> [Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
> argument: couldn't spawn child process: C:/PHP/php-cgi.exe
> ================================================= =======
> **********
> I have placed the same php code on my webhosting server
> (which is a linux one) and there is no such error.
> What should be modified in my windows server.
>

Reading the http://www.apache.org/dist/httpd/CHANGES_2.0
an update to 2.0.40 or above may get you out of these troubles
Changes with Apache 2.0.40
*) Fix WinNT cgi 500 errors when QUERY_ARGS or other strings include
extended characters (non US-ASCII) in non-utf8 format. This brings
Win32 back into CGI/1.1 compliance, and leaves charset decoding up
to the cgi application itself. [William Rowe]

Reading further UTF-8 gets the looks of a mine field ... seen one, trapping
the other :-(
http://issues.apache.org/bugzilla/bu...t=&content=utf

There has been an issue with FireFox trashing UTF-8 urls too ( solved
Februari 2005 )
https://bugzilla.mozilla.org/show_bug.cgi?id=261934
HansH


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h23.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09862 seconds with 10 queries