Dumb Question of the day

Hey Guys I am totally having a lack of memory moment hehehe…


I want to configure my apache to listen using named Vhosts, where if the ServerName does not exist as a VHOST, it defaults to matrix to pick up anything else…



Whats the easiest way of of doing this again? apache2, SUSE, with vhosts_*.conf in seperate directory using default_server.conf as base configuration

If you use a vhost that is not specified by a particular vhost block, Apache uses the first vhost configuration it finds.


Does that answer the question?

[quote]If you use a vhost that is not specified by a particular vhost block, Apache uses the first vhost configuration it finds.


Does that answer the question?

[right][post=“14348”]<{POST_SNAPBACK}>[/post][/right][/quote]





:slight_smile: I realise that.



I was thinking of placing the Matrix alias’s in the default_server.conf, however setting servername in the vhost.conf file it was ignoring it and feaulting to the default host.



Must of had something wrong in the vhost setting maybe?

Perhaps. I remember that SUSE was quite insane with Apache's conf files, so I suspect that has something to do with it. :stuck_out_tongue:

[quote]Perhaps. I remember that SUSE was quite insane with Apache’s conf files, so I suspect that has something to do with it. :stuck_out_tongue:
[right][post=“14352”]<{POST_SNAPBACK}>[/post][/right][/quote]



Tell me about it, some strange things in the way SUSE does stuff, especially on the amd 64 chips to… so amnytimes spent editing the php configure script to look in lib64 for all the required library files hehehehe…



Going to run Ubuntu server at home for while, have the desktop running dual boot on my laptop atm… :smiley: