LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2004, 08:19 PM   #1
tictocdoc
LQ Newbie
 
Registered: Sep 2003
Location: Houston,TX
Distribution: RedHat/SuSe/Mandrake
Posts: 20

Rep: Reputation: 0
PHP-Nuke problems


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>

Last edited by tictocdoc; 05-09-2004 at 08:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-Nuke? thorn168 Linux - Software 2 06-03-2005 10:57 AM
php-nuke blank admin.php zuessh Linux - Software 18 05-03-2005 07:47 PM
Php Nuke!!! FearPasion710 Linux - General 3 10-03-2003 03:43 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
php nuke GT I.N.C Linux - General 2 08-08-2002 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration