Hi all i've try to configure Apache with Virtual Host in the main
configuration file of Apache i have modify like this:
#NameVirtualHost *:80
NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for
your problem, as correctly outputted, is permission based, and as far as
i can tell, has nothing to do with PHP..
Jason
a.k.a kioto [EMAIL PROTECTED] wrote:
Hi all i've try to configure Apache with Virtual Host in the main
configuration file of Apache i have modify like this:
Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 11:42 AM
To: a.k.a kioto; [EMAIL PROTECTED]
Subject: Re: [PHP] Virtual Host problem
your problem, as correctly outputted, is permission based, and as far as
i can tell, has nothing to do with PHP..
Jason
a.k.a kioto wrote:
snip
I have insert a file index.php in all main folder of virtaul host:
/usr/local/apache/users/default/index.php
/usr/local/apache/users/mysite/index.php
/usr/local/apache/users/brothersite/index.php
I have modified the file hosts in etc/hosts.
39.244.88.126 mordoch
Someone correct me if I am wrong, but haven't you just confused the
hell out of Apache? You have just declared three virtual hosts, all
listening on port 80, but apache has no way to identify them based on
the incoming packets. You need to add a ServerName directive to
each virtual host
please send it to Apache mailling list.
--- a.k.a kioto [EMAIL PROTECTED]
wrote:
Hi all i've try to configure Apache with Virtual
Host in the main
configuration file of Apache i have modify like
this:
#NameVirtualHost *:80
NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache
Re question 2:
You can set this using the php_value command in apache. I think you need to
have the SAPI version configured for this to work though. You might want to
check that out. I have only done this on XP, haven't tried it on linux yet.
VirtualHost *
ServerAdmin [EMAIL PROTECTED]
7 matches
Mail list logo