Paul Groves wrote:
So I want all traffic to go to a default page e.g. the It Works! page. One for ssl and one for plain http. Unless I have configured a virtualhost manually.
Okay - that default page will need to part of a default _vhost_. That is always the first virtual host, which is why I suggested calling the config file something like "aaaaaa.conf".
What is happening currently:
The default pages are being ignored and all domain names that are not configured are going to the owncloud virtualhost (http and https). even if I type in http://ip_address or http://hostname_of_server
Is your 'owncloud' vhost the first one in the config?
If I disable the owncloud configuration I see both the default files fine.
Under which vhost are they available?
(I have replaced the actual domain name with owncloud.mysite.com for privacy).
========== 000-default.conf ==========
Try adding the actual IP address here. Just my experience that it works "better".
============ 000-default-ssl.conf ============
<IfModule mod_ssl.c> <VirtualHost _default_:443>
Try adding the actual IP here.
========= owncloud.conf =========
<IfModule mod_ssl.c> <VirtualHost owncloud.mysite.com:443>
IP address.
<VirtualHost owncloud.mysite.com:80>
And one more. I would also check that you're not adding any of the pre-configured openSUSE default hosts. They're configured in /etc/apache2/default*, and included by httpd.conf. I prefer leaving them out, so all of the hosts are in vhosts.d/ -- Per Jessen, Zürich (26.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org