|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
<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 |
|
![]() |
| Outils de la discussion | |
|
|