H
hawo
Grünschnabel
Hallo
Ich bin Ende Juli 2010 von Windows auf KUBUNTU 10.04 umgestiegen. Ich wollte den Apache2 nutzen.
Wenn ich den Apache2 Server starten will, erhalte ich fogende Fehlermeldung:
------------
haschka@wolfgang:~$ /usr/sbin/apache2ctl start
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Syntax error on line 49 of /etc/apache2/sites-enabled/000-default: </VirtualHost> without matching <VirtualHost> section
haschka@wolfgang:~$
------------
Wenn ich die entsprechenden Files aufsuche, finde ich folgenden Code
bei den entsprechenden Zeilen
apache2.conf
-------------
235 # Include the virtual host configurations:
236 Include /etc/apache2/sites-enabled/
-------------
der Code von 000-default lautet
------------
i<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
-------------------------
(Ich wundere mich über das "i" am Anfang des Textes)
Was ist da nicht richtig?? Was mache ich falsch????
Betsen Dank
Wolfgang
Ich bin Ende Juli 2010 von Windows auf KUBUNTU 10.04 umgestiegen. Ich wollte den Apache2 nutzen.
Wenn ich den Apache2 Server starten will, erhalte ich fogende Fehlermeldung:
------------
haschka@wolfgang:~$ /usr/sbin/apache2ctl start
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Syntax error on line 49 of /etc/apache2/sites-enabled/000-default: </VirtualHost> without matching <VirtualHost> section
haschka@wolfgang:~$
------------
Wenn ich die entsprechenden Files aufsuche, finde ich folgenden Code
bei den entsprechenden Zeilen
apache2.conf
-------------
235 # Include the virtual host configurations:
236 Include /etc/apache2/sites-enabled/
-------------
der Code von 000-default lautet
------------
i<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
-------------------------
(Ich wundere mich über das "i" am Anfang des Textes)
Was ist da nicht richtig?? Was mache ich falsch????
Betsen Dank
Wolfgang