Просмотр полной версии : CGI script on Apache
У меня стоит Apache 1.3. Скрипты упорно отказываются работать. Как с этим бороться?
Попробуй установить Перл, пхп и т.д.- слышал, что это помогает ;)
погляди файло- почитай точнее
Стянул. Посмотрел. Сделал все по инструкции. Скрипты не работают. При попытке их запустить появляется сообщение следующего содержания:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
А в файлике errors.log такая вот гадость:
/cgi-bin/sample.cgi is not executable; cannot translate to a short path name.
couldn't spawn child process: /cgi-bin/sample.cgi
И что теперь?
Ты в скрипте прописал правельный путь к перл?
#!/usr/local/bin/perl
УГУ!!!
Может я в conf'е что не так поставил. Ты не мог бы посмотреть - я приаттачу его.
http://kpnemo.emanual.ru/showthread.php?s=&threadid=6210
я думаю 500
попробуй прописать:
#!c:/perl/
-or-
#!c:\perl\
или куда ты перл поставил там
Забейте. Это был глюк Internet Explorer'а.
У меня тоже такая проблема.
Вот что пишется в error.log
[Wed Aug 02 12:32:24 2006] [error] [client 127.0.0.1] (OS 5)Отказано в доступе. : couldn't spawn child process: C:/Apache2/cgi-bin/websamp.pl
vBulletin® v3.8.5, Copyright ©2000-2024, Jelsoft Enterprises Ltd.