[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openvds-devel] The port 80 problem
From: |
RoseHosting Admin |
Subject: |
Re: [Openvds-devel] The port 80 problem |
Date: |
Fri, 14 Dec 2001 19:18:04 -0600 |
This is the way it should be done. It definitely works:
Listen 8080
Port 8080
VirtualHost *:80>
...
</VirtualHost>
No need to patch anything. Any Apache version will work.
Bobi R.
RoseHosting.com
----- Original Message -----
From: "Simon Garner" <address@hidden>
To: <address@hidden>
Sent: Friday, December 14, 2001 6:25 PM
Subject: Re: [Openvds-devel] The port 80 problem
> 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...
> > >
>
>
>
> _______________________________________________
> Openvds-devel mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/openvds-devel
>
- Re: [Openvds-devel] Is FreeVSD still open source?, (continued)
- 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, 2001/12/14
- Re: [Openvds-devel] The port 80 problem, Marcos Rubinstein, 2001/12/14
- Re: [Openvds-devel] The port 80 problem,
RoseHosting Admin <=
- 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
- Re: [Openvds-devel] The port 80 problem, Simon Garner, 2001/12/15
- Re: [Openvds-devel] The port 80 problem, Chris Fulton, 2001/12/14