Apache2
vedel by mi dakto po lopate poradit,s linuxom sa hram nanajvys tyzden :-),tento bug som vyhladal dakde,ale ani postup na jeho fixnutie mi nepomohol
Restarting web server: apache2[Thu Feb 23 14:38:21 2012] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Feb 23 14:38:21 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu Feb 23 14:38:21 2012] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Feb 23 14:38:21 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
Action 'start' failed.
The Apache error log may have more information.
failed!
root@server:/etc/apache2/sites-available# cat www.forgym.tk
#
<VirtualHost *:80>
ServerAdmin webmaster@example.com
ServerName forgym.tk
ServerAlias forgym.tk
# Indexes + Directory Root.
DirectoryIndex index.html
DocumentRoot /var/www/www.forgym.tk/htdocs/
# CGI Directory
ScriptAlias /cgi-bin/ /var/www/www.forgym.tk/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
# Logfiles
ErrorLog /var/www/www.forgym.tk/logs/error.log
CustomLog /var/www/www.forgym.tk/logs/access.log combined
</VirtualHost>
root@server:/etc/apache2/sites-available#
root@server:/etc/apache2# cat ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
apache error log-zaujimave je,ze za dnesok tam nic nie je:-),to by vysvetlovalo ten fail pri spustani apache
nezmestilo sa to sem,tak som to dal http://pastebin.com/tRCQieid :-)
Pre pridávanie komentárov sa musíte prihlásiť.
root@server:/etc/apache2/sites-available# apachectl start
[Fri Feb 24 18:52:55 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
Action 'start' failed.