[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openvds-devel] The port 80 problem
From: |
Simon Garner |
Subject: |
Re: [Openvds-devel] The port 80 problem |
Date: |
Sat, 15 Dec 2001 13:25:15 +1300 |
Hi,
The problem is that Port is not a valid directive in a <VirtualHost> block
(at least not in Apache 1.3.22). If you do:
Listen 8080
Port 80
<VirtualHost *>
...
</VirtualHost>
Then the VirtualHost is inaccessible (see httpd -S for why).
If you do:
Listen 8080
Port 8080
<VirtualHost *>
...
</VirtualHost>
OR
Listen 8080
Port 80
<VirtualHost *:8080>
...
</VirtualHost>
It works but SERVER_PORT = 8080.
If you try to do:
Listen 8080
Port 8080
<VirtualHost *>
Port 80
...
</VirtualHost>
The server will not start, due to configuration syntax error.
I'm pretty sure I've exhausted all the possibilities and it is not possible
to make this work the way I would like. On the other hand I've got my
patched kernel running fine and quite happy with the result :)
Cheers,
Simon
From: "Marcos Rubinstein" <address@hidden>
> You can define the port in the VirtualHost too... (the same
> way that you define the IP)
>
> Cheers!
> Marcos
>
> On Sat, 15 Dec 2001, Simon Garner wrote:
>
> > From: "Chris Fulton" <address@hidden>
> >
> > > Simon,
> > >
> > > add this line to httpd.conf (in each vhost):
> > > Port 80
> > > (or Port 443)
> > > and leave Canonical On
> > >
> > > Then your server will rewrite proper urls to port 80.
> > >
> >
> >
> > But then VirtualHosts don't work...
> >
- Re: [Openvds-devel] Is FreeVSD still open source?, (continued)
- Re: [Openvds-devel] Is FreeVSD still open source?, Damion Parry, 2001/12/12
- Re: [Openvds-devel] Is FreeVSD still open source?, Eje Gustafsson, 2001/12/12
- Re: [Openvds-devel] Is FreeVSD still open source?, Eje Gustafsson, 2001/12/12
- RE: [Openvds-devel] Is FreeVSD still open source?, Clint Nelissen, 2001/12/13
- [Openvds-devel] The port 80 problem, Simon Garner, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Chris Fulton, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Simon Garner, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Marcos Rubinstein, 2001/12/14
- Re: [Openvds-devel] The port 80 problem,
Simon Garner <=
- Re: [Openvds-devel] The port 80 problem, Marcos Rubinstein, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, RoseHosting Admin, 2001/12/14
- RE: [Openvds-devel] The port 80 problem, Dave Cost, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Simon Garner, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Urivan Saaib, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Simon Garner, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Urivan Saaib, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Urivan Saaib, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Urivan Saaib, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Chris Fulton, 2001/12/14