NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Apache with VitualHost ?



Hello Together
After try to configure Apache with virtualhost, i have the problem that
the second link "homeshine" are not available.
-    Caloro are Browsable = OK
-    HomeShine
     ony for local Network, but are not Available.
For any Help iam Happy
Regards
Mauri

[Snip-http.conf]
# Virtual hosts
Include etc/httpd/httpd-vhosts.conf

[Snip-http-Vhost.conf]
NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin webmaster%caloro.ch@localhost
 DocumentRoot "/usr/pkg/share/httpd/htdocs/caloro.ch/"
 ServerName caloro.ch
 ServerAlias www.caloro.ch
<Directory /usr/pkg/share/httpd/htdocs/caloro.ch/">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
        <IfModule dir_module>
                DirectoryIndex index.html
        </IfModule>
 ErrorLog /var/log/httpd/caloro_error.logs
 TransferLog /var/log/httpd/caloro_trans.logs
</VirtualHost>

<VirtualHost *:80>
ServerAdmin webmaster%homeshine.ch@localhost
 DocumentRoot "/usr/pkg/share/httpd/htdocs/homeshine.ch/"
 ServerName hometime.ch
 ServerAlias www.hometime.ch
<Directory /usr/pkg/share/httpd/htdocs/homeshine.ch/">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
        <IfModule dir_module>
                DirectoryIndex index.html
        </IfModule>
 ErrorLog /var/log/httpd/homeshine_error.logs
 TransferLog /var/log/httpd/homeshine_trans.logs
</VirtualHost>

[Snip-Error.conf]
[Sat Oct 26 13:03:36 2013] [notice] Digest: generating secret for digest
authentication ...
[Sat Oct 26 13:03:36 2013] [notice] Digest: done
[Sat Oct 26 13:03:37 2013] [notice] Apache/2.2.25 (Unix) DAV/2
configured -- resuming normal operations

[Snip-hosts]
192.168.0.103           hometime.ch caloro.ch





Home | Main Index | Thread Index | Old Index