Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Larrikin 06.04.2005 11:33
root@disten /chroot/apache/www/gon.larrikin.ru/logs # ll total 18 -rw-r--r-- 1 vhost-3- vhost-3- 14482 Apr 5 21:23 access_log -rw-r--r-- 1 vhost-3- vhost-3- 941 Apr 5 21:23 error_log root@disten /chroot/apache/www/gon.larrikin.ru/logs # tail error_log [Tue Apr 5 17:11:38 2005] [error] [client 192.168.1.27] Premature end of script headers: /www/gon.larrikin.ru/cgi-bin/parser3.cgi failed to open log file fopen: No such file or directory [Tue Apr 5 17:16:05 2005] [error] [client 192.168.1.27] Premature end of script headers: /www/gon.larrikin.ru/cgi-bin/parser3.cgi failed to open log file fopen: No such file or directory [Tue Apr 5 17:19:59 2005] [error] [client 192.168.1.27] Premature end of script headers: /www/gon.larrikin.ru/cgi-bin/parser3.cgi failed to open log file fopen: No such file or directory [Tue Apr 5 17:23:37 2005] [error] [client 192.168.1.27] Premature end of script headers: /www/gon.larrikin.ru/cgi-bin/parser3.cgiможет модуля какого не хватает апачу?
# ================================================= # Basic settings # ================================================= ServerType standalone ServerRoot "/usr/local/apache" PidFile /usr/local/apache/logs/httpd.pid ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard ResourceConfig /dev/null AccessConfig /dev/null # ================================================= # Performance settings # ================================================= Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 # ================================================= # Apache's modules # ================================================= ClearModuleList AddModule mod_log_config.c AddModule mod_mime.c AddModule mod_dir.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_actions.c AddModule mod_alias.c AddModule mod_cgi.c # ================================================= # General settings # ================================================= Port 80 User apache Group apache ServerAdmin Larrikin@newmail.ru UseCanonicalName Off ServerSignature Off HostnameLookups Off ServerTokens Prod <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> DocumentRoot "/www" # ================================================= # Access control # ================================================= <Directory /> Options None AllowOverride None Order deny,allow Deny from all </Directory> # ================================================= # MIME encoding # ================================================= <IfModule mod_mime.c> TypesConfig /usr/local/apache/conf/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddType application/x-tar .tgz </IfModule> # ================================================= # Logs # ================================================= LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent ErrorLog /usr/local/apache/logs/error_log CustomLog /usr/local/apache/logs/access_log combined # ================================================= # PHP module # ================================================= AddModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php .inc AddType application/x-httpd-php .class # ================================================= # Virtual hosts # ================================================= NameVirtualHost * # gon.larrikin.ru <VirtualHost *> DocumentRoot "/www/gon.larrikin.ru/html/" ServerName "gon.larrikin.ru" ServerAlias "www.gon.larrikin.ru" user vhost-3- group vhost-3- ErrorLog /www/gon.larrikin.ru/logs/error_log CustomLog /www/gon.larrikin.ru/logs/access_log combined ScriptAlias /cgi-bin/ "/www/gon.larrikin.ru/cgi-bin/" <Directory "/www/gon.larrikin.ru/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> AddHandler parser3-handler html Action parser3-handler /cgi-bin/parser3.cgi <Files ~ "\.p$"> Order allow,deny Deny from all </Files> DirectoryIndex index.html <Directory /www/gon.larrikin.ru/html/> Options None AllowOverride None Order allow,deny Allow from all </Directory> RLimitMEM 32000000 32000000 RLimitCPU 10 30 RLimitNPROC 60 60 </VirtualHost>