Доброе время суток!
Я хочу поставить систему учёта посещаемости моего сайта http://awstats.sourceforge.net/ но у меня не всё к сожалению получается, по всей видимости оттого что я не очень владею юникс подобными системами, и оттого, что по умолчанию в системе многое запрещено ;)
пытаюсь я запустить скрипт с адреса http://3beam.physik.uni-kl.de/cgi-bin/bla_bla.pl?... c некоторым параметром
а в ответ получаю
You don't have permission to access /cgi-bin/test-cgi on this server.
я так понимаю что у меня с правами доступа на файлы не всё ок ;( но где?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, agschmor@rhrk.uni-kl.de 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.
или вот такое получаю в ответ ;( те 500 ошибка
это содержание лог файла с ошибками
[Tue Jul 8 16:14:31 2003] [notice] Initializing etag from /var/www/logs/etag-state
[Tue Jul 8 17:11:14 2003] [error] (2)No such file or directory: exec of /cgi-bin/awstats.pl failed
[Tue Jul 8 17:11:14 2003] [error] [client 131.246.236.158] Premature end of script headers: /cgi-bin/awstats.pl
[Tue Jul 8 17:17:10 2003] [error] (2)No such file or directory: exec of /cgi-bin/awstats.pl failed
[Tue Jul 8 17:17:10 2003] [error] [client 131.246.236.63] Premature end of script headers: /cgi-bin/awstats.pl
[Tue Jul 8 17:17:32 2003] [error] (2)No such file or directory: exec of /cgi-bin/awstats.pl failed
[Tue Jul 8 17:17:32 2003] [error] [client 131.246.236.63] Premature end of script headers: /cgi-bin/awstats.pl
[Tue Jul 8 17:17:52 2003] [error] [client 131.246.236.63] script not found or unable to stat: /cgi-bin/awstats.3beam.html
[Tue Jul 8 17:18:21 2003] [error] [client 131.246.236.63] script not found or unable to stat: /cgi-bin/awstats.3beam.htm
[Tue Jul 8 17:18:25 2003] [error] [client 131.246.236.63] script not found or unable to stat: /cgi-bin/awstats.3beam.htm
[Tue Jul 8 17:18:28 2003] [error] [client 131.246.236.63] attempt to invoke directory as script: /cgi-bin
[Tue Jul 8 17:20:17 2003] [error] [client 131.246.236.70] script not found or unable to stat: /cgi-bin/awstats.3beam.html
[Tue Jul 8 17:22:25 2003] [error] [client 131.246.236.63] script not found or unable to stat: /cgi-bin/awsats.html
[Tue Jul 8 17:22:36 2003] [error] [client 131.246.236.63] file permissions deny server execution: /cgi-bin/awsats.3beam.html
[Tue Jul 8 17:31:30 2003] [error] [client 131.246.236.63] file permissions deny server execution: /cgi-bin/test-cgi
[Tue Jul 8 17:31:31 2003] [error] [client 131.246.236.63] file permissions deny server execution: /cgi-bin/test-cgi
[Tue Jul 8 17:31:31 2003] [error] [client 131.246.236.63] File does not exist: /htdocs/favicon.ico
[Tue Jul 8 17:31:36 2003] [error] [client 131.246.236.63] file permissions deny server execution: /cgi-bin/test-cgi
[Tue Jul 8 17:31:41 2003] [error] [client 131.246.236.63] file permissions deny server execution: /cgi-bin/test-cgi
[Tue Jul 8 17:35:57 2003] [error] (2)No such file or directory: exec of /cgi-bin/awstats.pl failed
[Tue Jul 8 17:35:57 2003] [error] [client 131.246.236.63] Premature end of script headers: /cgi-bin/awstats.pl
[Tue Jul 8 17:36:40 2003] [error] (2)No such file or directory: exec of /cgi-bin/awstats.pl failed
[Tue Jul 8 17:36:40 2003] [error] [client 131.246.236.63] Premature end of script headers: /cgi-bin/awstats.pl
у меня в апаче в конфигурационном файле есть такие вот строки
#
# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
#AddHandler cgi-script .cgi
я так понимаю, что последняя строка должна выглядеть
AddHandler cgi-script .cgi .pl?
зы у меня система настроена по усолчанию ;) так что по умолчанию многое может быть просто отключено ;(
С уважением che.