Hello:
I have installed PHP-Nuke on a mandrake 10 server. I have a combination of several IP based and Name based Virtual Hosts. All of them up to now are working as designed. Next, I created 2 new directories in the same (/var/www/html) directory, set the same permissions, and copied all of the installation files for PHP-Nuke into the new directories. I edited Vhosts.conf, and the appropriate config.php files. I set the permissions recursively on both directories and changed the owners to apache. Now the strange stuff. I can get to PHP-Vhost #1 just fine. PHP-Vhost #2 (which I copied Vhost 1 and changed the directory and server names only) refuses to work. I will post my Vhosts.conf file below. Does anyone know if there is some problem with running multiple PHP-Nuke sites on one server with separate databases? Any ideas???????
Thanks,
Michael
################# IP-based Virtual Hosts
<VirtualHost 192.168.X.XX>
DocumentRoot /var/www/html/website 1 (Not PHP)
ServerName XXX.com
RewriteEngine On
RewriteOptions inherit
</VirtualHost>
################# Named VirtualHosts
NameVirtualHost 192.168.X.XX
<VirtualHost 192.168.X.XX>
ServerName
www.website 2.com (Not PHP)
RewriteEngine On
RewriteOptions inherit
ServerAdmin owners@website 2.com
ServerPath /website2
DocumentRoot /var/www/html/website2
</VirtualHost>
################# Named VirtualHosts
NameVirtualHost 192.168.X.XX
<VirtualHost 192.168.X.XX>
ServerName
www.website3.net (Not PHP)
ServerAdmin
webmaster@website3.net
RewriteEngine On
RewriteOptions inherit
ServerPath /website3
DocumentRoot /var/www/html/website3
</VirtualHost>
################# Named VirtualHosts
NameVirtualHost localhost
<VirtualHost localhost>
ServerName
www.website4.org (This is the 1st PHP site)
ServerAdmin
webmaster@website4.org
RewriteEngine On
RewriteOptions inherit
ServerPath /website4
DocumentRoot /var/www/html/website4
ServerSignature Off
</VirtualHost>
################# Named VirtualHosts
NameVirtualHost localhost
<VirtualHost localhost>
ServerName
www.website5.org (This is the 2nd PHP Site - This one doesn't work)
ServerAdmin
gatekeeper@website5.org
RewriteEngine On
RewriteOptions inherit
ServerPath /paganways
DocumentRoot /var/www/html/website5
ServerSignature Off
</VirtualHost>