Hallo Jan!
I am using in the httpd.conf the following:
Include /etc/apache/conf/###_vhost.conf
Before, is the following correct? But thats what I have understood fron the earlier post in other 2.0.9 Hack of multisite. The Directives for the subsite in the include file are in there as following:
ServerName game.domain.com (Mastersite)
ServerAlias music.domain.com (Subsite)
DocumentRoot /home/www/html/game
Hence, by typing in the location music.domain.com, it will be redirected to game.domain.com, which in the end get the necessary info from mysql, correct? Just to be sure, if I understand right.
In the URI pattern, it cannot have http:// and it is not necessary as the browser understand amd passes on only truncating http:// to the apache. So entering the references of hypertext protocoll nature of a browsercall is not necessary as it being the default. Beleive me, if you type anything else, like
ftp://music.domain.com, you do need to inform the multisite as a browser call ftp:// type of refverence in the URI pattern, otherwise not (I beleive, I may be wrong).
Where could be the problem, in MIME types and Apache handler? Further:
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
TypesConfig /etc/mime.types
DefaultType text/plain
MIMEMagicFile share/magic
...
#AddHandler send-as-is asis
...
There is nothing in the MIME types that I can see as a problem. It could only be either in the apache directive, admin/mysql or in the code.
Is there a small script available to determine what subdomain the server recognises?
I mean if the browser resolves into a correct subdomain with correct IP address, it should be working. I checked by ping the subsite http://music.domain.com and it resolves. Hence apache also works. It could only be something further or thereafter.
The mainfile has:
define('XOOPS_ROOT_PATH', '/home/www/html/game');
define('XOOPS_RESCUE_URL', 'http://game.domain.com'); // (Mastersite)