[EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Uwe Dippel
I have been working on this, reading the documentation, googled, but haven't found the solution: I administrate foo.bar.edu.my. Until now, it is one CMS. In future, we want to use more, so I tried vhosts. This is what I added to hhtpd.conf: diff httpd.conf.novirtual httpd.conf

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: I administrate foo.bar.edu.my. Until now, it is one CMS. In future, we want to use more, so I tried vhosts. This is what I added to hhtpd.conf: VirtualHost * ServerName foo.bar.edu.my DocumentRoot /var/www/htdocs /VirtualHost Now, 2ndfoo.bar.edu.my

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Uwe Dippel
Davide Bianchi wrote: What is 'foo.bar.edu.my'? I simply didn't want to invite too many people; it is a publicly accessible FQDN. And what is the httpd.conf BEFORE the changes? I was afraid, it might be too long. Now it is attached. Uwe # $OpenBSD: httpd.conf,v 1.19 2006/02/22

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: I simply didn't want to invite too many people; it is a publicly accessible FQDN. Yes, exactly, it is a PUBLICLY ACCESSIBLE url, and the fast way to test something is just to look at it. So why hiding it? And what is the httpd.conf BEFORE the changes? I was afraid, it

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Uwe Dippel
Davide Bianchi wrote: Yes, exactly, it is a PUBLICLY ACCESSIBLE url, and the fast way to test something is just to look at it. So why hiding it? Okay, no problem. If this can be of any help? http://coit.uniten.edu.my We are running the old version now, to have the current content

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: We are running the old version now, to have the current content accessible. Whenever I try to see that URL, I get a 302 redirecting me to /v2/, maybe that is the problem. How about setting THAT as your DocumentRoot instead of plain-old /var/www/htdocs ? Davide -- Gentlemen,

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Uwe Dippel
Davide Bianchi wrote: Whenever I try to see that URL, I get a 302 redirecting me to /v2/, maybe that is the problem. How about setting THAT as your DocumentRoot instead of plain-old /var/www/htdocs ? Tried it, but doesn't help. Sorry, let's take a break on this problem. The future and