VirtualHost Issue (Ubuntu 6.10)
John R Cichy
john at greengator.com
Sat Jan 6 16:10:37 UTC 2007
On Sat, 2007-01-06 at 10:41 -0500, Karl-Heinz Schulz wrote:
> I cannot the Virtual host working on this newly set up box .
>
> Would you mind to get me in the right direction?
>
>
> TIA
>
> NameVirtualHost *:80
>
> <VirtualHost *>
>
> ServerAdmin webmaster at localhost
>
> DocumentRoot /var/www/
>
> <Directory />
>
> Options FollowSymLinks
>
> AllowOverride None
>
> </Directory>
>
> <Directory /var/www/>
>
> Options Indexes FollowSymLinks MultiViews
>
> AllowOverride None
>
> Order allow,deny
>
> allow from all
>
> # Uncomment this directive is you want to see
> apache2's
>
> # default start page (in /apache2-default) when you go
> to /
>
> #RedirectMatch ^/$ /apache2-default/
>
> </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
>
> ServerSignature On
>
> 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>
>
>
> <VirtualHost *:80>
>
> ServerName www.wienernaschmarkt.eu
>
> DocumentRoot /var/www/naschmarkt
>
> ServerAdmin webmaster at wienernaschmarkt.eu
>
> </VirtualHost>
>
> <VirtualHost *:80>
>
> ServerName www.kasimir-schulz.com
>
> DocumentRoot /usr/share/gallery
>
> </VirtualHost>
>
> <VirtualHost *:80>
>
> ServerName www.khschulz-lab.com
>
> DocumentRoot /usr/share/gallery
>
> </VirtualHost>
>
>
> Alias /squirrelmail /usr/share/squirrelmail
>
> <Directory /usr/share/squirrelmail>
>
> php_flag register_globals off
>
> Options Indexes FollowSymLinks
>
> <IfModule mod_dir.c>
>
> DirectoryIndex index.php
>
> </IfModule>
>
What is apache2 complaining about in the logs? I think it has to do with
the *:80, at least mine did not like it
John
More information about the ubuntu-users
mailing list