-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear all,
I have this apache which runs on LAN:
Server Version: Apache-AdvancedExtranetServer/2.0.44 (Mandrake
Linux/11mdk) mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.44
OpenSSL/0.9.7a PHP/4.3.1
I've also a running DNS on the LAN, and updated the records for my vhosts.
I tried to setup a NameVirtualHost like this:
NameVirtualHost 192.168.0.233:80
<VirtualHost 192.168.0.233:80>
ServerName psb.sistek.kom
DocumentRoot /var/www/html/psb
</VirtualHost>
<VirtualHost 192.168.0.233:80>
ServerName phpmyadmin.sistek.kom
DocumentRoot /var/www/html/phpmyadmin
</VirtualHost>
<VirtualHost 192.168.0.233:80>
ServerName webmail.sistek.kom
DocumentRoot /var/www/html/webmail
</VirtualHost>
The problem is:
psb.sistek.kom runs well
but, phpmyadmin.sistek.kom and webmail.sistek.kom open up their first page OK,
but got the page cannot be displayed for any page inside it.
On /var/log/httpd/error_log I got this:
[Mon Jan 05 11:11:51 2004] [error] [client 192.168.0.233] File does not exist:
/var/www/html/psb/phpmyadmin
Why on earth apache looks for phpmyadmin.sistek.kom INSIDE of psb.sistek.kom?
I thought I have set the DocumentRoot for each vhost?
What am I doing wrong here? If I move phpmyadmin's html inside of psb, it runs
smoothly.
Many thanks in advance for helping me, guys.
- --
Fajar http://linux.arinet.org
Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux
13:56:47 up 6:37, 10 users, load average: 0.23, 0.54, 0.48
Quote of the day:
Win98 is called Win98 because there is a 98% probability that it will crash
during installation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/+Q6jMai9kCFqACoRAm0pAKCr5Ygw5TBpa8zgATj1l5z3UTV5pQCg2fB0
5kNZOGEP3XoH6iRc8eZfwJM=
=kufb
-----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com