You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by QWE Loong <qw...@hotmail.com> on 2001/12/17 15:57:31 UTC

Different error... need help...

Hi,

I have just installed Apache 1.3.20 for Win23

Currently Computer specs:

Win2000 with IIS

I have problems running CGI scripts. Whenever I run them, it will give me a 
500 Internal Server Error. I've read the documentations about the error but 
the error was different from mine. The error is had was:

[Mon Dec 17 22:53:28 2001] [error] [client 127.0.0.1] attempt to invoke 
directory as script: g:/program files/apache group/apache/cgi-bin
[Mon Dec 17 22:53:32 2001] [error] [client 127.0.0.1] couldn't spawn child 
process: g:/program files/apache group/apache/cgi-bin/first.pl

Can someone help , please.

Thank you

qwe_it@hotmail.com

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


PHP 4.1 and new global variables

Posted by E�l <eo...@yahoo.com>.
Hello everybody,

Just got around to updating my scripts and already
running into issues (have been running global off for
awhile).  Before (4.06) I used:

$domain=$HTTP_ENV_VARS["REMOTE_ADDR"]; and
$domain=127.0.0.1 (in this case) and this worked just
fine.

Now I attempted:

$domain=$_ENV["REMOTE_ADDR"]; and $domain="" now
instead of the ip address.  Did I implement the new
shorter variable wrong?

Thanks in advance for the help,

Peter



__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org