> -Original Message-
> From: Matus UHLAR - fantomas [mailto:[EMAIL PROTECTED]
> >
> > This is intended for some reason or another. In the source, the
> > name is searched first (in order of appearance in conf
> > file) and returns a match before ServerName/Alias is even tried.
I would
> >On 27.06.06 14:31, Neil A. Hillard wrote:
> >> No, the VirtualHost entry tells Apache _where to listen_ for the request
> >> and nothing else.
> On 6/27/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
> >That is, what docs says and how I understand it.
On 29.06.06 18:04, Brian Rectanus w
On 6/27/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
> >
> > Now when a request arrives, the server will first check if it is using an IP
> > address that matches the NameVirtualHost. If it is, then it will look at
> > each section with a matching IP address and try to find one
> >
> >
> > Now when a request arrives, the server will first check if it is using an IP
> > address that matches the NameVirtualHost. If it is, then it will look at
> > each section with a matching IP address and try to find one
> > ^^^
> > where the
> >
> > Now when a request arrives, the server will first check if it is using an IP
> > address that matches the NameVirtualHost. If it is, then it will look at
> > each section with a matching IP address and try to find one
> > ^^^
> > where the
On 6/27/06, Neil A. Hillard <[EMAIL PROTECTED]> wrote:
You are trying to do something that Apache is not designed for. You want:
195.168.3.66 -> /home/webs/195.168.3.66
fantomas.fantomas.sk -> /home/webs/fantomas.fantomas.sk
-> /home/webs/default.fantomas.sk
You can't do that. Yo
Hi,
Matus UHLAR - fantomas wrote:
> On 27.06.06 13:30, Neil A. Hillard wrote:
>> I don't understand what the problem is here. I've tested the
>> configuration suggested and it works fine (OK, I had to change the IP
>> address to match my setup):
>>
>>
>> ServerName 195.168.3.66
>> DocumentRoot
Matus UHLAR - fantomas wrote:
> On 27.06.06 13:30, Neil A. Hillard wrote:
>> I don't understand what the problem is here. I've tested the
>> configuration suggested and it works fine (OK, I had to change the IP
>> address to match my setup):
>>
>>
>> ServerName 195.168.3.66
>> DocumentRoot /h
On 27.06.06 13:25, Pid wrote:
> The documentation says:
>
> "ServerName fully-qualified-domain-name[:port]"
>
> so you might be falling at the first hurdle, because you're not
> specifying a FQDN.
>
> Also:
>
> "If no ServerName is specified, then the server attempts to deduce the
> hostname by
On 27.06.06 13:30, Neil A. Hillard wrote:
> I don't understand what the problem is here. I've tested the
> configuration suggested and it works fine (OK, I had to change the IP
> address to match my setup):
>
>
> ServerName 195.168.3.66
> DocumentRoot /home/webs/195.168.3.66
>
>
>
> Server
Neil A. Hillard wrote:
> Hi,
> You have made sure you've got a NameVirtualHost 195.168.3.66:80 set?
>
> When not supplying a 'Host:' header or supplying the IP address in the
> 'Host:' header then Apache responds using the first virtual server but
> if the name 'default.fantomas.sk' is used then
Hi,
Matus UHLAR - fantomas wrote:
> On 26.06.06 11:54, Joshua Slive wrote:
>>> LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\"
>>> \"%{Referer}i\" \"%{User-Agent}i\"" testing
>>>
>>> 1151335141 default.fantomas.sk default.fantomas.sk - default.fantomas.sk
>>> 195.168.3.66 fan
Matus UHLAR - fantomas wrote:
>> Your problem here is that the ServerName requires a fully-qualified
>> domain name, rather than an IP address.
>
> I think that ServerName could contain anything that users may request in the
> Host: header ;-)
Yes, I'd gathered that you think it ought to do som
> > In this case, no requests will reach "default.fantomas.sk" (this name does
> > not exist) because 195.168.3.66 will be default host. And the thing is I
> > want to differentiate between those...
On 27.06.06 13:06, Pid wrote:
> So you want to return default.fantomas.sk in all cases where the IP
Matus UHLAR - fantomas wrote:
>>> afaik the server does not resolve IP's to hosts here (do you have other
>>> informations?)
>>
>>
>> ServerName 195.168.3.66
>> DocumentRoot /home/webs/195.168.3.66
>>
>>
>>
>> ServerName default.fantomas.sk
>> DocumentRoot /home/webs/default.fantomas.sk
>>
>
On 26.06.06 11:54, Joshua Slive wrote:
> >LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\"
> >\"%{Referer}i\" \"%{User-Agent}i\"" testing
> >
> >1151335141 default.fantomas.sk default.fantomas.sk - default.fantomas.sk
> >195.168.3.66 fantomas.fantomas.sk 200 20 4 - "/" "-" "-"
> > afaik the server does not resolve IP's to hosts here (do you have other
> > informations?)
On 27.06.06 10:22, Pid wrote:
> I didn't say anything about *DNS* resolution.
Aha, sorry. I understand what you've meant.
> > requests for "195.168.3.66" should go to virtualhost "195.168.3.66" if they
Matus UHLAR - fantomas wrote:
> On 27.06.06 09:34, Pid wrote:
>> Matus UHLAR - fantomas wrote:
>>> On 26.06.06 16:45, Pid wrote:
It maps there because it's the first in the list.
>>> Pardon? My problem is that request for "195.168.3.66" goes to
>>> "default.fantomas.sk" although "195.168.3.6
On 27.06.06 09:34, Pid wrote:
> Matus UHLAR - fantomas wrote:
> > On 26.06.06 16:45, Pid wrote:
> >> It maps there because it's the first in the list.
> >
> > Pardon? My problem is that request for "195.168.3.66" goes to
> > "default.fantomas.sk" although "195.168.3.66" has its own virtual host.
>
Matus UHLAR - fantomas wrote:
> On 26.06.06 16:45, Pid wrote:
>> It maps there because it's the first in the list.
>
> Pardon? My problem is that request for "195.168.3.66" goes to
> "default.fantomas.sk" although "195.168.3.66" has its own virtual host.
Yes, I was quite clear on that and I thi
On 26.06.06 16:45, Pid wrote:
> It maps there because it's the first in the list.
Pardon? My problem is that request for "195.168.3.66" goes to
"default.fantomas.sk" although "195.168.3.66" has its own virtual host.
> If you want a VH to operate under the IP only, put it first.
Pardon? I want on
On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
I think you've meant %{Host}i, but I added both:
Yes.
LogFormat "%{%s}t %v %V %{Host}o %{Host}i %a %h %>s %b %T %u \"%U\" \"%{Referer}i\"
\"%{User-Agent}i\"" testing
1151335141 default.fantomas.sk default.fantomas.sk - default
It maps there because it's the first in the list.
If you want a VH to operate under the IP only, put it first.
Matus UHLAR - fantomas wrote:
>> On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
>>> this is my current configuration of apache (debian: 1.3.33-6sarge1):
>>>
>>> NameVirtual
> On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
> >this is my current configuration of apache (debian: 1.3.33-6sarge1):
> >
> >NameVirtualHost 195.168.3.66:80
> >
> >
> >ServerName default.fantomas.sk
> >DocumentRoot /home/webs/default.fantomas.sk
> >
> >
> >
> >ServerName fantomas.
On 6/26/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote:
Hello,
this is my current configuration of apache (debian: 1.3.33-6sarge1):
NameVirtualHost 195.168.3.66:80
ServerName default.fantomas.sk
DocumentRoot /home/webs/default.fantomas.sk
ServerName fantomas.fantomas.sk
DocumentRoot
Hello,
this is my current configuration of apache (debian: 1.3.33-6sarge1):
NameVirtualHost 195.168.3.66:80
ServerName default.fantomas.sk
DocumentRoot /home/webs/default.fantomas.sk
ServerName fantomas.fantomas.sk
DocumentRoot /home/webs/fantomas.fantomas.sk
ServerName 195.168.3.66
Docum
26 matches
Mail list logo