lucky

Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору error.log Код: [Thu Jan 15 18:52:28 2004] [error] [client 127.0.0.1] F:/localhost/server/cgi-bin/test.cgi is not executable; ensure interpreted scripts have "#!" first line [Thu Jan 15 18:52:28 2004] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: F:/localhost/server/cgi-bin/test.cgi | httpd.conf Код: NameVirtualHost 127.0.0.1 ####----localhost----#### <VirtualHost localhost> ServerName localhost ServerAdmin crazy@localhost.mb DocumentRoot "F:/localhost" <Directory "F:/localhost"> Options Indexes Includes AllowOverride All Order allow,deny Allow from all </Directory> DirectoryIndex index.html index.htm ScriptAlias /cgi/ "F:/localhost/server/cgi-bin/" ScriptAlias /cgi-bin/ "F:/localhost/server/cgi-bin/" <Directory "F:/localhost/server/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> AddHandler cgi-script .cgi .pl .exe .bat AddType text/html .shtml .shtm .html .htm AddOutputFilter INCLUDES .shtml .shtm .html .htm ErrorLog F:/localhost/logs/error.log CustomLog F:/localhost/logs/access.log common </VirtualHost> ####----/localhost----#### | test.cgi Код: #!/usr/bin/perl -W print "Content-type: text/html\n\n"; print "Hello world!<br>\n"; | ScriptInterpreterSource registry (убирал и ставил) если запускать с консоли: Код: C:\>F:\localhost\server\cgi-bin\test.cgi Unquoted string "p" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 2. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 2, near "" (Missing operator before r?) Unquoted string "r" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 2. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 2, near "" (Missing operator before i?) Unquoted string "i" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 2. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 2, near "" (Missing operator before n?) Unquoted string "n" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 2. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 2, near "" (Missing operator before t?) Unquoted string "t" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 2. String found where operator expected at F:\localhost\server\cgi-bin\test.cgi lin e 2, near "" (Missing operator before ?) Unquoted string "p" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 3. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 3, near "" (Missing operator before r?) Unquoted string "r" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 3. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 3, near "" (Missing operator before i?) Unquoted string "i" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 3. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 3, near "" (Missing operator before n?) Unquoted string "n" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 3. Bareword found where operator expected at F:\localhost\server\cgi-bin\test.cgi l ine 3, near "" (Missing operator before t?) Unquoted string "t" may clash with future reserved word at F:\localhost\server\c gi-bin\test.cgi line 3. String found where operator expected at F:\localhost\server\cgi-bin\test.cgi lin e 3, near "" (Missing operator before ?) syntax error at F:\localhost\server\cgi-bin\test.cgi line 2, near "" Execution of F:\localhost\server\cgi-bin\test.cgi aborted due to compilation err ors. C:\> | cgi и pl в системе ассоциированы с перлом WinXP(prof) ; ActivePerl-5.8.2.808-MSWin32-x86 ; apache_2.0.48-win32-x86-no_ssl помогите, пожалуйста, а то начинают появляЦЦа мысли о суицЫде error.log при restart'е Apache Код: [Thu Jan 15 19:15:10 2004] [notice] Digest: generating secret for digest authentication ... [Thu Jan 15 19:15:10 2004] [notice] Digest: done [Thu Jan 15 19:15:11 2004] [notice] Parent: Created child process 4064 [Thu Jan 15 19:15:12 2004] [notice] Digest: generating secret for digest authentication ... [Thu Jan 15 19:15:12 2004] [notice] Digest: done [Thu Jan 15 19:15:13 2004] [notice] Child 4064: Child process is running [Thu Jan 15 19:15:13 2004] [notice] Child 4064: Acquired the start mutex. [Thu Jan 15 19:15:13 2004] [notice] Child 4064: Starting 250 worker threads. | | Всего записей: 680 | Зарегистр. 10-04-2002 | Отправлено: 19:00 15-01-2004 | Исправлено: lucky, 19:22 15-01-2004 |
|