при попытке запустить файл на выполнение со следующим содржанием
#!/usr/bin/perl -w use CGI qw(:all); my($target); $target="http://www.citymax24.de/"; print redirect ( -uri => $target );
Получаю
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
ErrorLog:
[Wed Feb 20 19:37:32 2002] [error] [client 195.243.234.146] Premature end of script headers: /usr/local/httpd/cgi-bin/test2.cgi Can't locate CGI.pm in @INC (@INC contains: /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRu n-perl/lib/5.6.1/i686-linux-thread-multi /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRu n-perl/lib/5.6.1 /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRu n-perl/lib/site_perl/5.6.1/i686-linux-thread-multi /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRu n-perl/lib/site_perl/5.6.1 /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRu n-perl/lib/site_perl .) at /usr/local/httpd/cgi-bin/test2.cgi line 2. BEGIN failed--compilation aborted at /usr/local/httpd/cgi-bin/test2.cgi line 2.
Что делать? Сервер APACHE, Suse 7.0
|