Nilesh Govindarajan wrote:
On Tue, May 25, 2010 at 2:47 PM, Lester Caine<les...@lsces.co.uk>  wrote:
Nilesh Govindarajan wrote:

On Tue, May 25, 2010 at 3:01 AM, Lester Caine<les...@lsces.co.uk>    wrote:

I've had this problem before and fixed it but can't remember what the fix
was :(

I've got a couple of virtual sites on an SUSE server which I've just
updated
and now what was perfectly functional is not working. fbwiki.lsces.co.uk
was
showing it's own site, but is just displaying the base lsces.co.uk pages.
Everything looks fine, but if I swap the order of the two VirtualHost
entries, then the fbwiki one becomes active. That file has not changed,
so I
assume something in the SUSE Apache 'crap' is rewriting something else -
but
I can't see what.

Any ideas where to look next? As I say it was working fine this morning
:(

Dump the configuration here

Given the number of files SUSE spread it over, that is a little difficult!
But I've cracked it ... NameVirtualHost directive was missing

I knew it was something simple, but why should an update remove it?
Still I have tidied up all the rest of the config while trying to find it :)

Problem solved or not ??
As I said .... NameVirtualHost directive was missing
The problem was that Apache was only seeing the first virtualhost without that entry.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to