httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fajar Priyanto <fajar...@arinet.org>
Subject Re: [users@httpd] the 2nd, 3rd vhost troubled
Date Tue, 06 Jan 2004 01:56:55 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks guys, your right!.
I messed up with phpmyadmin AbsoluteUri setting.
I should have type it "http://phpmyadmin.sistek.kom" instead of 
"http://www.sistek.kom/phpmyadmin"
Fajar.


On Monday 05 January 2004 02:06 pm, Fajar Priyanto wrote:
> 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
08:55:38 up 1:29, 10 users, load average: 0.49, 0.19, 0.12
Quote of the day:
Windows 98 is *NOT* a virus - viruses are small and efficient.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/+hXqMai9kCFqACoRAkSAAJ9sm8fMf603mUudpd09z2Cus9AtowCcDTWg
tEOzhXpo40GKjNZOgShxcAA=
=yxbs
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message