StasM

Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Установил apache, нажимаю start он пишет: failed to start apache sevice и даёт 30 секундный отсчёт. При запуске test пишет: syntax Ok и тоже 30 секундный отсчёт даёт. Вот мой httpd.conf: Код: ServerType standalone ServerRoot "C:/Program Files/Apache Group/Apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MaxRequestsPerChild 0 ThreadsPerChild 50 ClearModuleList AddModule mod_env.c AddModule mod_log_config.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_isapi.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_so.c AddModule mod_setenvif.c Port 80 ServerAdmin localhost@localhost.com ServerName localhost DocumentRoot "z:/home/localhost/cgi/ikonboard" alias /images "z:/home/localhost/www/ikonboard/" alias /icons "C:/Program Files/Apache Group/Apache/icons/" <Directory z:/> Options FollowSymLinks AllowOverride None </Directory> <Directory z:/home/localhost/www/ikonboard> AllowOverride All Options Options Indexes FollowSymLinks MultiViews Order allow,deny Allow from all </Directory> <Directory z:/home/localhost/cgi/ikonboard> Options FollowSymLinks MultiViews Includes ExecCGI AllowOverride Options Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir "C:/Program Files/Apache Group/Apache/users/" </IfModule> DirectoryIndex ikonboard.cgi <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On <IfModule mod_mime.c> TypesConfig conf/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off ErrorLog logs/error.log 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 CustomLog logs/access.log common ServerSignature EMail #!c:/program files/perl/perl ScriptInterpreterSource registry <IfModule mod_alias.c> ScriptAlias /cgi-bin/ "z:/home/localhost/cgi/" ScriptAlias /cgi/ "z:/home/localhost/cgi/" </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t </IfModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage en .en AddLanguage ru .ru AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r <IfModule mod_negotiation.c> LanguagePriority ru en </IfModule> AddType application/x-httpd-php php ScriptAlias /_php/ "C:/Program Files/PHP/" Action application/x-httpd-php "/_php/php.exe" AddHandler cgi-script .cgi .bat .pl AddType text/html .shtml AddHandler server-parsed .shtml .html .htm </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> NameVirtualHost 127.0.0.1 #----localhost <VirtualHost localhost> ServerAdmin webmaster@localhost ServerName localhost ErrorLog z:/home/localhost/error.log CustomLog z:/home/localhost/access.log common </VirtualHost> #----localhost2 <VirtualHost localhost2> ServerAdmin webmaster@localhost2 ServerName localhost2 DirectoryIndex index.html DocumentRoot "z:/home/localhost2/www" ErrorLog z:/home/localhost2/error.log CustomLog z:/home/localhost2/access.log common </VirtualHost> |
|